A number optionally associated to a particular element.
Public Member Functions | |
SVGLength (bool readOnly, SVGSerializable list, Css.Value originalValue) | |
void | Detach () |
Detaches this value from a serializable list. More... | |
void | Attach (SVGSerializable list) |
Attaches this value to a serializable list. More... | |
void | Serialize (System.Text.StringBuilder sb) |
Used when serializing this value. More... | |
Public Member Functions inherited from Svg.ISVGListable | |
void | Serialize (System.Text.StringBuilder sb) |
Static Public Member Functions | |
static ushort | GetLengthType (Css.Value value) |
Gets the SVG length type for a particular CSS value. More... | |
Public Attributes | |
const ushort | SVG_LENGTHTYPE_UNKNOWN =0 |
Length type constants. More... | |
const ushort | SVG_LENGTHTYPE_NUMBER =1 |
const ushort | SVG_LENGTHTYPE_PERCENTAGE =2 |
const ushort | SVG_LENGTHTYPE_EMS =3 |
const ushort | SVG_LENGTHTYPE_EXS =4 |
const ushort | SVG_LENGTHTYPE_PX =5 |
const ushort | SVG_LENGTHTYPE_CM =6 |
const ushort | SVG_LENGTHTYPE_MM =7 |
const ushort | SVG_LENGTHTYPE_IN =8 |
const ushort | SVG_LENGTHTYPE_PT =9 |
const ushort | SVG_LENGTHTYPE_PC =10 |
Properties | |
float | value [get, set] |
The resolved value (in CSS pixels). More... | |
float | valueInSpecifiedUnits [get, set] |
The resolved value (in CSS pixels). More... | |
string | valueAsString [get, set] |
The value as a string. More... | |
ushort | unitType [get] |
The type of units of this length. More... | |
Private Attributes | |
bool | IsReadOnly |
SVGSerializable | List |
Css.Value | rawValue |
|
inline |
|
inline |
Attaches this value to a serializable list.
Implements Svg.ISVGListable.
|
inline |
Detaches this value from a serializable list.
Implements Svg.ISVGListable.
|
inlinestatic |
Gets the SVG length type for a particular CSS value.
|
inline |
Used when serializing this value.
|
private |
|
private |
|
private |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_CM =6 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_EMS =3 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_EXS =4 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_IN =8 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_MM =7 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_NUMBER =1 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_PC =10 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_PERCENTAGE =2 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_PT =9 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_PX =5 |
const ushort Svg.SVGLength.SVG_LENGTHTYPE_UNKNOWN =0 |
Length type constants.
|
get |
The type of units of this length.
|
getset |
The resolved value (in CSS pixels).
|
getset |
The value as a string.
|
getset |
The resolved value (in CSS pixels).