C# Class SharpVectors.Dom.Svg.SvgAngle

Summary description for SvgAngle.
Inheritance: ISvgAngle
Datei anzeigen Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
ConvertToSpecifiedUnits ( SvgAngleType unitType ) : void

Preserve the same underlying stored value, but reset the stored unit identifier to the given unitType. Object attributes unitType, valueAsSpecified and valueAsString might be modified as a result of this method.

NewValueSpecifiedUnits ( SvgAngleType unitType, double valueInSpecifiedUnits ) : void

Reset the value as a number with an associated unitType, thereby replacing the values for all of the attributes on the object.

SvgAngle ( string baseVal, string defaultValue, bool readOnly ) : System

Creates a SvgAngle value

Method Details

ConvertToSpecifiedUnits() public method

Preserve the same underlying stored value, but reset the stored unit identifier to the given unitType. Object attributes unitType, valueAsSpecified and valueAsString might be modified as a result of this method.
public ConvertToSpecifiedUnits ( SvgAngleType unitType ) : void
unitType SvgAngleType The unitType to switch to (e.g., SvgAngleTypeDEG).
return void

NewValueSpecifiedUnits() public method

Reset the value as a number with an associated unitType, thereby replacing the values for all of the attributes on the object.
public NewValueSpecifiedUnits ( SvgAngleType unitType, double valueInSpecifiedUnits ) : void
unitType SvgAngleType The unitType for the angle value (e.g., SvgAngleTypeDEG).
valueInSpecifiedUnits double The angle value
return void

SvgAngle() public method

Creates a SvgAngle value
public SvgAngle ( string baseVal, string defaultValue, bool readOnly ) : System
baseVal string
defaultValue string The default value for the angle.
readOnly bool Specifies if the value should be read-only
return System