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
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.
stops: Vec<Stop>
A list of stop
elements.
Trait Implementations
impl Clone for BaseGradient
[src]
impl Clone for BaseGradient
fn clone(&self) -> BaseGradient
[src]
fn clone(&self) -> BaseGradient
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for BaseGradient
impl Send for BaseGradient
impl Sync for BaseGradient
impl Sync for BaseGradient