Class LinearScale
Represents a linear scale.
Inherited Members
Namespace: FastReport.Gauge.Linear
Assembly: FastReport.Base.dll
Syntax
public class LinearScale : GaugeScale
Constructors
LinearScale(GaugeObject)
Initializes a new instance of the LinearScale class.
Declaration
public LinearScale(GaugeObject parent)
Parameters
Type | Name | Description |
---|---|---|
GaugeObject | parent | The parent gauge object. |
Methods
Assign(GaugeScale)
Copies the contents of another GaugeScale.
Declaration
public override void Assign(GaugeScale src)
Parameters
Type | Name | Description |
---|---|---|
GaugeScale | src | The GaugeScale instance to copy the contents from. |
Overrides
Draw(FRPaintEventArgs)
Draws the scale of gauge.
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e | Draw event arguments. |
Overrides
Serialize(FRWriter, String, GaugeScale)
Serializes the gauge scale.
Declaration
public override void Serialize(FRWriter writer, string prefix, GaugeScale diff)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
System.String | prefix | Scale property name. |
GaugeScale | diff | Another GaugeScale to compare with. |
Overrides
Remarks
This method is for internal use only.