Interface ISvgAngle
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
The SvgAngle interface corresponds to the angle basic data type.
public interface ISvgAngle
Properties
- UnitType
The type of the value as specified by the SvgAngleType enum class.
- 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.