Class GaugePointer
Represents a pointer of gauge.
Namespace: FastReport.Gauge
Assembly: FastReport.OpenSource.dll
Syntax
public class GaugePointer : Component
Constructors
GaugePointer(GaugeObject)
Initializes a new instance of the GaugePointer class.
Declaration
public GaugePointer(GaugeObject parent)
Parameters
Type | Name | Description |
---|---|---|
GaugeObject | parent | The parent gauge object. |
Properties
BorderColor
Gets or sets the border color of a pointer.
Declaration
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderWidth
Gets or sets the border width of a pointer.
Declaration
public float BorderWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Fill
Gets or sets the color of a pointer.
Declaration
public FillBase Fill { get; set; }
Property Value
Type | Description |
---|---|
FillBase |
Parent
Gets or sets the parent gauge object.
Declaration
public GaugeObject Parent { get; set; }
Property Value
Type | Description |
---|---|
GaugeObject |
Methods
Assign(GaugePointer)
Copies the contents of another GaugePointer.
Declaration
public virtual void Assign(GaugePointer src)
Parameters
Type | Name | Description |
---|---|---|
GaugePointer | src | The GaugePointer instance to copy the contents from. |
Draw(FRPaintEventArgs)
Draws the gauge pointer.
Declaration
public virtual void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e | Draw event arguments. |
Serialize(FRWriter, String, GaugePointer)
Serializes the gauge pointer.
Declaration
public virtual 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. |
Remarks
This method is for internal use only.