Interface SVGAngle

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

    MDN Reference

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

    Properties

    SVG_ANGLETYPE_DEG: 2
    SVG_ANGLETYPE_GRAD: 4
    SVG_ANGLETYPE_RAD: 3
    SVG_ANGLETYPE_UNKNOWN: 0
    SVG_ANGLETYPE_UNSPECIFIED: 1
    unitType: number
    value: number
    valueAsString: string
    valueInSpecifiedUnits: number

    Methods

    • Parameters

      • unitType: number

      Returns void

    • Parameters

      • unitType: number
      • valueInSpecifiedUnits: number

      Returns void