Struct flo_animation::BrushPropertiesElement
[−]
[src]
pub struct BrushPropertiesElement { /* fields omitted */ }
Element representing selecting some new brush properties
Methods
impl BrushPropertiesElement
[src]
pub fn new(
id: ElementId,
new_properties: BrushProperties
) -> BrushPropertiesElement
[src]
id: ElementId,
new_properties: BrushProperties
) -> BrushPropertiesElement
Creates a new brush properties vector element
pub fn brush_properties<'a>(&'a self) -> &BrushProperties
[src]
Retrieves the brush properties that this will set for future elements
Trait Implementations
impl Clone for BrushPropertiesElement
[src]
fn clone(&self) -> BrushPropertiesElement
[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 VectorElement for BrushPropertiesElement
[src]
fn id(&self) -> ElementId
[src]
The ID of this vector element
fn to_path(&self, _properties: &VectorProperties) -> Option<Vec<Path>>
[src]
Retrieves the paths for this element, if there are any
fn render(&self, gc: &mut GraphicsPrimitives, properties: &VectorProperties)
[src]
Renders this vector element
fn update_properties(&self, properties: &mut VectorProperties)
[src]
Updates the vector properties for future elements