Interface RadialGradientOptions

interface RadialGradientOptions {
    fx?: number;
    fy?: number;
    id?: string;
    radius?: number;
    spreadMethod?: "pad" | "reflect" | "repeat";
    units?: "userSpaceOnUse" | "objectBoundingBox";
}

Hierarchy (view full)

Properties

fx?: number

The x coordinate of the focal point on the radial gradient.

fy?: number

The y coordinate of the focal point on the radial gradient.

id?: string
radius?: number

The radius of the radial gradient.

spreadMethod?: "pad" | "reflect" | "repeat"
units?: "userSpaceOnUse" | "objectBoundingBox"