Struct usvg::RadialGradient[][src]

pub struct RadialGradient {
    pub id: String,
    pub cx: f64,
    pub cy: f64,
    pub r: PositiveNumber,
    pub fx: f64,
    pub fy: f64,
    pub base: BaseGradient,
}
Expand description

A radial gradient.

radialGradient element in SVG.

Fields

id: String

Element’s ID.

Taken from the SVG itself. Can’t be empty.

cx: f64cy: f64r: PositiveNumberfx: f64fy: f64base: BaseGradient

Base gradient data.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.