C# Class SharpVectors.Dom.Css.CssPrimitiveLengthValue

Inheritance: CssPrimitiveValue
Mostra file Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
CssPrimitiveLengthValue ( double number, string unit, bool readOnly ) : System
CssPrimitiveLengthValue ( string cssText, bool readOnly ) : System
CssPrimitiveLengthValue ( string number, string unit, bool readOnly ) : System
GetAbsoluteValue ( string propertyName, XmlElement elm ) : CssValue
GetFloatValue ( CssPrimitiveType unitType ) : double

Protected Methods

Method Description
CssPrimitiveLengthValue ( ) : System
_setCssText ( string cssText ) : void

Private Methods

Method Description
_getInLength ( ) : double
_getPxLength ( ) : double
_setType ( string unit ) : void

Method Details

CssPrimitiveLengthValue() protected method

protected CssPrimitiveLengthValue ( ) : System
return System

CssPrimitiveLengthValue() public method

public CssPrimitiveLengthValue ( double number, string unit, bool readOnly ) : System
number double
unit string
readOnly bool
return System

CssPrimitiveLengthValue() public method

public CssPrimitiveLengthValue ( string cssText, bool readOnly ) : System
cssText string
readOnly bool
return System

CssPrimitiveLengthValue() public method

public CssPrimitiveLengthValue ( string number, string unit, bool readOnly ) : System
number string
unit string
readOnly bool
return System

GetAbsoluteValue() public method

public GetAbsoluteValue ( string propertyName, XmlElement elm ) : CssValue
propertyName string
elm System.Xml.XmlElement
return CssValue

GetFloatValue() public method

public GetFloatValue ( CssPrimitiveType unitType ) : double
unitType CssPrimitiveType
return double

_setCssText() protected method

protected _setCssText ( string cssText ) : void
cssText string
return void