Struct usvg_tree::filter::DisplacementMap
source · pub struct DisplacementMap {
pub input1: Input,
pub input2: Input,
pub scale: f64,
pub x_channel_selector: ColorChannel,
pub y_channel_selector: ColorChannel,
}
Expand description
A displacement map filter primitive.
feDisplacementMap
element in the SVG.
Fields§
§input1: Input
Identifies input for the given filter primitive.
in
in the SVG.
input2: Input
Identifies input for the given filter primitive.
in2
in the SVG.
scale: f64
Scale factor.
scale
in the SVG.
x_channel_selector: ColorChannel
Indicates a source color channel along the X-axis.
xChannelSelector
in the SVG.
y_channel_selector: ColorChannel
Indicates a source color channel along the Y-axis.
yChannelSelector
in the SVG.
Trait Implementations§
source§impl Clone for DisplacementMap
impl Clone for DisplacementMap
source§fn clone(&self) -> DisplacementMap
fn clone(&self) -> DisplacementMap
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