happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
98 lines • 3.08 kB
TypeScript
import * as PropertySymbol from '../../PropertySymbol.cjs';
import SVGAnimatedEnumeration from '../../svg/SVGAnimatedEnumeration.cjs';
import SVGAnimatedLength from '../../svg/SVGAnimatedLength.cjs';
import SVGAnimatedAngle from '../../svg/SVGAnimatedAngle.cjs';
import SVGAnimatedRect from '../../svg/SVGAnimatedRect.cjs';
import SVGAnimatedPreserveAspectRatio from '../../svg/SVGAnimatedPreserveAspectRatio.cjs';
import SVGAngle from '../../svg/SVGAngle.cjs';
import SVGElement from '../svg-element/SVGElement.cjs';
/**
* SVG Rect Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement
*/
export default class SVGMarkerElement extends SVGElement {
static readonly SVG_MARKER_ORIENT_UNKNOWN = 0;
static readonly SVG_MARKER_ORIENT_AUTO = 1;
static readonly SVG_MARKER_ORIENT_ANGLE = 2;
static readonly SVG_MARKERUNITS_UNKNOWN = 0;
static readonly SVG_MARKERUNITS_USERSPACEONUSE = 1;
static readonly SVG_MARKERUNITS_STROKEWIDTH = 2;
readonly SVG_MARKER_ORIENT_UNKNOWN = 0;
readonly SVG_MARKER_ORIENT_AUTO = 1;
readonly SVG_MARKER_ORIENT_ANGLE = 2;
[ ]: SVGAnimatedEnumeration | null;
[ ]: SVGAnimatedLength | null;
[ ]: SVGAnimatedLength | null;
[ ]: SVGAnimatedEnumeration | null;
[ ]: SVGAnimatedAngle | null;
[ ]: SVGAnimatedLength | null;
[ ]: SVGAnimatedLength | null;
[ ]: SVGAnimatedRect | null;
[ ]: SVGAnimatedPreserveAspectRatio | null;
/**
* Returns marker units.
*
* @returns Marker units.
*/
get markerUnits(): SVGAnimatedEnumeration;
/**
* Returns marker width.
*
* @returns Marker width.
*/
get markerWidth(): SVGAnimatedLength;
/**
* Returns marker height.
*
* @returns Marker height.
*/
get markerHeight(): SVGAnimatedLength;
/**
* Returns orient type.
*
* @returns Orient type.
*/
get orientType(): SVGAnimatedEnumeration;
/**
* Returns orient angle.
*
* @returns Orient angle.
*/
get orientAngle(): SVGAnimatedAngle;
/**
* Returns ref x.
*
* @returns Ref x.
*/
get refX(): SVGAnimatedLength;
/**
* Returns ref y.
*
* @returns Ref y.
*/
get refY(): SVGAnimatedLength;
/**
* Returns view box.
*
* @returns View box.
*/
get viewBox(): SVGAnimatedRect;
/**
* Returns preserve aspect ratio.
*
* @returns Preserve aspect ratio.
*/
get preserveAspectRatio(): SVGAnimatedPreserveAspectRatio;
/**
* Sets the value of the orient attribute to auto.
*/
setOrientToAuto(): void;
/**
* Sets the value of the orient attribute to an angle.
*
* @param angle Angle.
*/
setOrientToAngle(angle: SVGAngle): void;
}
//# sourceMappingURL=SVGMarkerElement.d.ts.map