Skip to content

Truly independent web browser

1.2 KB
Raw Blame
// https://svgwg.org/svg2-draft/painting.html#InterfaceSVGMarkerElement
[Exposed=Window]
interface SVGMarkerElement : SVGElement {

    // Marker Unit Types
    const unsigned short SVG_MARKERUNITS_UNKNOWN = 0;
    const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1;
    const unsigned short SVG_MARKERUNITS_STROKEWIDTH = 2;

    // Marker Orientation Types
    const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0;
    const unsigned short SVG_MARKER_ORIENT_AUTO = 1;
    const unsigned short SVG_MARKER_ORIENT_ANGLE = 2;
    const unsigned short SVG_MARKER_ORIENT_AUTO_START_REVERSE = 3;

    [SameObject] readonly attribute SVGAnimatedLength refX;
    [SameObject] readonly attribute SVGAnimatedLength refY;
    [SameObject] readonly attribute SVGAnimatedEnumeration markerUnits;
    [SameObject] readonly attribute SVGAnimatedLength markerWidth;
    [SameObject] readonly attribute SVGAnimatedLength markerHeight;
    [SameObject] readonly attribute SVGAnimatedEnumeration orientType;
    [SameObject] readonly attribute SVGAnimatedAngle orientAngle;
    [Reflect] attribute DOMString orient;

    undefined setOrientToAuto();
    undefined setOrientToAngle(SVGAngle angle);
};

SVGMarkerElement includes SVGFitToViewBox;