Used to represent a value that can be an or value. An SVGAngle reflected through the animVal attribute is always read only.

interface SVGAngle {
    SVG_ANGLETYPE_DEG: number;
    SVG_ANGLETYPE_GRAD: number;
    SVG_ANGLETYPE_RAD: number;
    SVG_ANGLETYPE_UNKNOWN: number;
    SVG_ANGLETYPE_UNSPECIFIED: number;
    unitType: number;
    value: number;
    valueAsString: string;
    valueInSpecifiedUnits: number;
    convertToSpecifiedUnits(unitType): void;
    newValueSpecifiedUnits(unitType, valueInSpecifiedUnits): void;
}

Properties

SVG_ANGLETYPE_DEG: number
SVG_ANGLETYPE_GRAD: number
SVG_ANGLETYPE_RAD: number
SVG_ANGLETYPE_UNKNOWN: number
SVG_ANGLETYPE_UNSPECIFIED: number
unitType: number
value: number
valueAsString: string
valueInSpecifiedUnits: number

Methods

  • Parameters

    • unitType: number

    Returns void

  • Parameters

    • unitType: number
    • valueInSpecifiedUnits: number

    Returns void