Struct usvg::BaseGradient[][src]

pub struct BaseGradient {
    pub units: Units,
    pub transform: Transform,
    pub spread_method: SpreadMethod,
    pub stops: Vec<Stop>,
}

A generic gradient.

Fields

Coordinate system units.

gradientUnits in the SVG.

Gradient transform.

gradientTransform in the SVG.

Gradient spreading method.

spreadMethod in the SVG.

A list of stop elements.

Trait Implementations

impl Clone for BaseGradient
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations