SVGMaskElement
Provides access to the properties of elements, as well as methods to manipulate them.
interface SVGMaskElement extends SVGElement {
readonly height: SVGAnimatedLength;
readonly maskContentUnits: SVGAnimatedEnumeration;
readonly maskUnits: SVGAnimatedEnumeration;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var SVGMaskElement: {
prototype: SVGMaskElement;
new (): SVGMaskElement;
};§Extends
§Properties
§
readonly height: SVGAnimatedLength
[src]§
readonly maskContentUnits: SVGAnimatedEnumeration
[src]§
readonly maskUnits: SVGAnimatedEnumeration
[src]§
readonly width: SVGAnimatedLength
[src]§
readonly x: SVGAnimatedLength
[src]§
readonly y: SVGAnimatedLength
[src]§Methods
§
addEventListener<K extends keyof SVGElementEventMap>(
[src]type: K,
listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof SVGElementEventMap>(
[src]type: K,
listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void