Class FRPaintEventArgs
Provides a data for paint event.
Inheritance
System.Object
FRPaintEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Utils
Assembly: FastReport.OpenSource.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. |
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 Graphics Graphics { get; }
Property Value
Type | Description |
---|---|
Graphics |
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 |