Class SimplePointer
Represents a simple pointer.
Inherited Members
Namespace: FastReport.Gauge.Simple
Assembly: FastReport.Base.dll
Syntax
public class SimplePointer : GaugePointer
Constructors
SimplePointer(GaugeObject)
Initializes a new instance of the SimplePointer class.
Declaration
public SimplePointer(GaugeObject parent)
Parameters
Type | Name | Description |
---|---|---|
GaugeObject | parent | The parent gauge object. |
Properties
Height
Gets o sets the height of gauge pointer.
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
HorizontalOffset
Gets or sets the pointer horizontal offset (cm).
Declaration
public float HorizontalOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
PointerRatio
Gets or sets the pointer ratio.
Declaration
public float PointerRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Gets or sets the width of a pointer.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Assign(GaugePointer)
Copies the contents of another GaugePointer.
Declaration
public override void Assign(GaugePointer src)
Parameters
Type | Name | Description |
---|---|---|
GaugePointer | src | The GaugePointer instance to copy the contents from. |
Overrides
Draw(FRPaintEventArgs)
Draws the gauge pointer.
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e | Draw event arguments. |
Overrides
Serialize(FRWriter, String, GaugePointer)
Serializes the gauge pointer.
Declaration
public override void Serialize(FRWriter writer, string prefix, GaugePointer diff)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
System.String | prefix | Gauge pointer property name. |
GaugePointer | diff | Another GaugePointer to compare with. |
Overrides
Remarks
This method is for internal use only.