Skip to main content

Type Alias: SvgGradient

type SvgGradient = object;

Defined in: svgString.ts:11

A linear gradient with evenly spaced colors, from top-left to bottom-right by default.

Properties​

colors​

colors: string[];

Defined in: svgString.ts:13


type​

type: "gradient";

Defined in: svgString.ts:12


x1?​

x1?: number | string;

Defined in: svgString.ts:14


x2?​

x2?: number | string;

Defined in: svgString.ts:16


y1?​

y1?: number | string;

Defined in: svgString.ts:15


y2?​

y2?: number | string;

Defined in: svgString.ts:17