Represents an instance of an angle. Either e.g. deg or rad. Internally they're in rad.
Protected Member Functions | |
override Value | Clone () |
Duplicates this value. More... | |
Protected Member Functions inherited from Css.Units.DecimalUnit | |
override Value | Clone () |
Duplicates this value. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Css.Units.DecimalUnit | |
DecimalUnit (float value) | |
DecimalUnit () | |
override bool | Equals (Value value) |
Checks if two values are equal. More... | |
override void | SetRawDecimal (float value) |
Sets a raw decimal value to this object. Used by the animation system. More... | |
override float | GetRawDecimal () |
Obtains the underlying decimal value, if there is one. More... | |
override float | GetDecimal (RenderableData context, CssProperty property) |
If this is a decimal, the raw decimal value. This is generally the main output. More... | |
override string | GetText (RenderableData context, CssProperty property) |
If this is a text value, e.g. "auto", the raw text value. More... | |
override bool | GetBoolean (RenderableData context, CssProperty property) |
If this is a boolean, the raw bool value. More... | |
override string | ToString () |
Static Public Member Functions inherited from Css.Value | |
static Css.Value | Load (string text) |
Public Attributes inherited from Css.Units.DecimalUnit | |
float | RawValue |
Protected Attributes inherited from Css.Value | |
ValueType | Type_ =ValueType.Null |
The type of value this is. More... | |
Static Package Attributes inherited from Css.Value | |
static readonly Value | Empty =new Units.DecimalUnit(0) |
Represents an empty value. More... | |
Properties inherited from Css.Units.DecimalUnit | |
virtual float | DisplayNumber [get] |
override string | HexString [get] |
|
inlineprotectedvirtual |
Duplicates this value.
Reimplemented from Css.Value.
Reimplemented in Css.Units.DegreesUnit, Css.Units.GradiansUnit, Css.Units.TurnUnit, and Css.Units.RadiansUnit.