SVGLinearGradientElement
Corresponds to the element.
interface SVGLinearGradientElement extends SVGGradientElement {
readonly x1: SVGAnimatedLength;
readonly x2: SVGAnimatedLength;
readonly y1: SVGAnimatedLength;
readonly y2: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGLinearGradientElement, 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: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var SVGLinearGradientElement: {
prototype: SVGLinearGradientElement;
new (): SVGLinearGradientElement;
};§Extends
§Properties
§
readonly x1: SVGAnimatedLength
[src]§
readonly x2: SVGAnimatedLength
[src]§
readonly y1: SVGAnimatedLength
[src]§
readonly y2: SVGAnimatedLength
[src]§Methods
§
addEventListener<K extends keyof SVGElementEventMap>(
[src]type: K,
listener: (this: SVGLinearGradientElement, 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: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void