Class FRPaintEventArgs
Provides a data for paint event.
Inheritance
System.Object
FRPaintEventArgs
Namespace: FastReport.Utils
Assembly: FastReport.Base.dll
Syntax
public class FRPaintEventArgs
Constructors
FRPaintEventArgs(Graphics, Single, Single, GraphicCache)
Initializes a new instance of the FRPaintEventArgs class with specified settings.
Declaration
public FRPaintEventArgs(Graphics g, float scaleX, float scaleY, GraphicCache cache)
Parameters
Type | Name | Description |
---|---|---|
Graphics | g | Graphics object to draw on. |
System.Single | scaleX | X scale factor. |
System.Single | scaleY | Y scale factor. |
GraphicCache | cache | Cache that contains graphics objects. |
FRPaintEventArgs(IGraphics, Single, Single, GraphicCache)
Initializes a new instance of the FRPaintEventArgs class with specified settings.
Declaration
public FRPaintEventArgs(IGraphics g, float scaleX, float scaleY, GraphicCache cache)
Parameters
Type | Name | Description |
---|---|---|
IGraphics | g | IGraphicsRenderer object to draw on. |
System.Single | scaleX | X scale factor. |
System.Single | scaleY | Y scale factor. |
GraphicCache | cache | Cache that contains graphics objects. |
Properties
Cache
Gets the cache that contains graphics objects.
Declaration
public GraphicCache Cache { get; }
Property Value
Type | Description |
---|---|
GraphicCache |
Graphics
Gets a Graphics object to draw on.
Declaration
public IGraphics Graphics { get; }
Property Value
Type | Description |
---|---|
IGraphics |
ScaleX
Gets the X scale factor.
Declaration
public float ScaleX { get; }
Property Value
Type | Description |
---|---|
System.Single |
ScaleY
Gets the Y scale factor.
Declaration
public float ScaleY { get; }
Property Value
Type | Description |
---|---|
System.Single |