Struct usvg_tree::filter::DistantLight
source · pub struct DistantLight {
pub azimuth: f64,
pub elevation: f64,
}
Expand description
A distant light source.
feDistantLight
element in the SVG.
Fields§
§azimuth: f64
Direction angle for the light source on the XY plane (clockwise), in degrees from the x axis.
azimuth
in the SVG.
elevation: f64
Direction angle for the light source from the XY plane towards the z axis, in degrees.
elevation
in the SVG.
Trait Implementations§
source§impl Clone for DistantLight
impl Clone for DistantLight
source§fn clone(&self) -> DistantLight
fn clone(&self) -> DistantLight
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