Struct flo_animation::BrushProperties
[−]
[src]
pub struct BrushProperties { pub size: f32, pub opacity: f32, pub color: Color, }
Standard properties for a brush stroke
These are the properties that are independent of the brush type. Properties that define a brush can be found in brush_definition.
Fields
size: f32
The size of the brush stroke
opacity: f32
The opacity of the brush stroke
color: Color
The colour of the brush stroke
Methods
impl BrushProperties
[src]
pub fn new() -> BrushProperties
[src]
Creates a new brush properties object with the settings at their defaults
Trait Implementations
impl Clone for BrushProperties
[src]
fn clone(&self) -> BrushProperties
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for BrushProperties
[src]
impl PartialEq for BrushProperties
[src]
fn eq(&self, __arg_0: &BrushProperties) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BrushProperties) -> bool
[src]
This method tests for !=
.