|
AsUnit[TSVGUnit]
|
Reads and writes the current length using the specified unit. Setting this property will convert the length to the new unit and the Raw value will be changed.
|
|
aUnit
|
Specifies the units (e.g., inches, centimeters, etc) that the length is currently specified in.
|
|
DefaultIsPercent
|
Defines the default FMX.RS.SVGTypes.TSVGLength.IsPercent value, used to determine if the IsPercent value should be streamed
|
|
IsPercent
|
Specifies whether the FMX.RS.SVGTypes.TSVGLength.Raw value should be interpreted as a percentage or not (with 0 being 0% and 1 equal to 100%)
|
|
OnChange
|
Occurs when the length is changed, either the value or the units
|
|
Pixels
|
Returns the length in pixels by converting the FMX.RS.SVGTypes.TSVGLength.Raw value from its units to pixels, using the FMX.RS.SVGTypes.TSVGLength.GetUnitFactors for conversion of the raw value. If the raw value is a percentage, the property returns the raw value as a value between 0 and 1. Use the FMX.RS.SVGTypes.TSVGLength.Value property to convert the percentage into a value in its range.
|
|
Raw
|
Defines the raw value in the current unit. The length class uses this value as the base value of the length. When you request the raw value in Pixels, the class converts the raw value to number of pixels using the Unit Factors.
|
|
Value
|
Specifies the length value in pixels (based on converting from the Unit). If the length is a percentage, the Pixels value is converted to a final value using the range of the length
|