Struct usvg_tree::filter::PointLight
source · pub struct PointLight {
pub x: f64,
pub y: f64,
pub z: f64,
}
Expand description
A point light source.
fePointLight
element in the SVG.
Fields§
§x: f64
X location for the light source.
x
in the SVG.
y: f64
Y location for the light source.
y
in the SVG.
z: f64
Z location for the light source.
z
in the SVG.
Trait Implementations§
source§impl Clone for PointLight
impl Clone for PointLight
source§fn clone(&self) -> PointLight
fn clone(&self) -> PointLight
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more