SVGPatternElement
Corresponds to the element.
interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {
readonly height: SVGAnimatedLength;
readonly patternContentUnits: SVGAnimatedEnumeration;
readonly patternTransform: SVGAnimatedTransformList;
readonly patternUnits: SVGAnimatedEnumeration;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGPatternElement, 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: SVGPatternElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var SVGPatternElement: {
prototype: SVGPatternElement;
new (): SVGPatternElement;
};§Properties
§
readonly height: SVGAnimatedLength
[src]§
readonly patternContentUnits: SVGAnimatedEnumeration
[src]§
readonly patternTransform: SVGAnimatedTransformList
[src]§
readonly patternUnits: 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: SVGPatternElement, 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: SVGPatternElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void