Struct usvg::RadialGradient [−][src]
pub struct RadialGradient { pub id: String, pub cx: f64, pub cy: f64, pub r: f64, pub fx: f64, pub fy: f64, pub base: BaseGradient, }
A radial gradient.
radialGradient
element in the SVG.
Fields
id: String
Element's ID.
Taken from the SVG itself. Can't be empty.
cx: f64
cy: f64
r: f64
fx: f64
fy: f64
base: BaseGradient
Base gradient data.
Trait Implementations
impl Deref for RadialGradient
[src]
impl Deref for RadialGradient
type Target = BaseGradient
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
Auto Trait Implementations
impl Send for RadialGradient
impl Send for RadialGradient
impl Sync for RadialGradient
impl Sync for RadialGradient