Struct usvg_tree::filter::DiffuseLighting
source · pub struct DiffuseLighting {
pub input: Input,
pub surface_scale: f64,
pub diffuse_constant: f64,
pub lighting_color: Color,
pub light_source: LightSource,
}Expand description
A diffuse lighting filter primitive.
feDiffuseLighting element in the SVG.
Fields§
§input: InputIdentifies input for the given filter primitive.
in in the SVG.
surface_scale: f64A surface scale.
surfaceScale in the SVG.
diffuse_constant: f64A diffuse constant.
diffuseConstant in the SVG.
lighting_color: ColorA lighting color.
lighting-color in the SVG.
light_source: LightSourceA light source.
Trait Implementations§
source§impl Clone for DiffuseLighting
impl Clone for DiffuseLighting
source§fn clone(&self) -> DiffuseLighting
fn clone(&self) -> DiffuseLighting
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