SVGAngle Class
The SVGAngle interface corresponds to the angle basic data type.
Inheritance Hierarchy
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.Html.Dom.Svg.DataTypesSVGValueType
      Aspose.Html.Dom.Svg.DataTypesSVGAngle

Namespace: Aspose.Html.Dom.Svg.DataTypes
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public class SVGAngle : SVGValueType

The SVGAngle type exposes the following members.

Properties
  NameDescription
Public propertyUnitType
The type of the value as specified by one of the SVG_ANGLETYPE_* constants defined on this interface.
Public propertyValue
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.
Public propertyValueAsString
The angle value as a string value, in the units expressed by unitType. Setting this attribute will cause value, valueInSpecifiedUnits and unitType to be updated automatically to reflect this setting.
Public propertyValueInSpecifiedUnits
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
  NameDescription
Public methodConvertToSpecifiedUnits
Preserve the same underlying stored value, but reset the stored unit identifier to the given unitType. Object attributes unitType, valueInSpecifiedUnits and valueAsString might be modified as a result of this method.
Public methodDispose
Releases unmanaged and - optionally - managed resources.
(Inherited from SVGValueType.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from SVGValueType.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewValueSpecifiedUnits
Reset the value as a number with an associated unitType, thereby replacing the values for all of the attributes on the object.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Fields
  NameDescription
Public fieldStatic memberSVG_ANGLETYPE_DEG
The unit type was explicitly set to degrees.
Public fieldStatic memberSVG_ANGLETYPE_GRAD
The unit type is radians.
Public fieldStatic memberSVG_ANGLETYPE_RAD
The unit type is radians.
Public fieldStatic memberSVG_ANGLETYPE_UNKNOWN
The unit type is not one of predefined unit types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
Public fieldStatic memberSVG_ANGLETYPE_UNSPECIFIED
No unit type was provided (i.e., a unitless value was specified). For angles, a unitless value is treated the same as if degrees were specified.
See Also