Struct usvg::tree::BaseGradient
[−]
[src]
pub struct BaseGradient { pub units: Units, pub transform: Transform, pub spread_method: SpreadMethod, }
A generic gradient.
Fields
units: Units
Coordinate system units.
gradientUnits
in the SVG.
transform: Transform
Gradient transform.
gradientTransform
in the SVG.
spread_method: SpreadMethod
Gradient spreading method.
spreadMethod
in the SVG.
Trait Implementations
impl Clone for BaseGradient
[src]
fn clone(&self) -> BaseGradient
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more