Table of Contents

Class SvgAngle

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Summary description for SvgAngle.

public sealed class SvgAngle : ISvgAngle
Inheritance
SvgAngle
Implements
Inherited Members

Constructors

SvgAngle(string, string, bool)

Creates a SvgAngle value

Properties

UnitType

The type of the value as specified by one of the constants specified above

Value

The angle value as a floating point value, in degrees. Setting this attribute will cause valueInSpecifiedUnits and valueAsString to be updated automatically to reflect this setting.

ValueAsString

The angle value as a string value, in the units expressed by unitType. Setting this attribute will cause value and valueInSpecifiedUnits to be updated automatically to reflect this setting.

ValueInSpecifiedUnits

The angle value as a floating point value, in the units expressed by unitType. Setting this attribute will cause value and valueAsString to be updated automatically to reflect this setting.

Methods

ConvertToSpecifiedUnits(SvgAngleType)

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, double)

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