Enum flo_animation::PaintEdit
[−]
[src]
pub enum PaintEdit { SelectBrush(ElementId, BrushDefinition, BrushDrawingStyle), BrushProperties(ElementId, BrushProperties), BrushStroke(ElementId, Arc<Vec<RawPoint>>), }
Represents an edit involving painting
Variants
SelectBrush(ElementId, BrushDefinition, BrushDrawingStyle)
Selects the brush with the specified definition for painting
BrushProperties(ElementId, BrushProperties)
Sets the properties for brush strokes
BrushStroke(ElementId, Arc<Vec<RawPoint>>)
Draws a brush stroke using the current brush and the specified set of input points
Methods
impl PaintEdit
[src]
pub fn assign_element_id<AssignFn: FnOnce() -> i64>(
self,
assign_element_id: AssignFn
) -> PaintEdit
[src]
self,
assign_element_id: AssignFn
) -> PaintEdit
If this edit contains an unassigned element ID, calls the specified function to supply a new element ID. If the edit already has an ID, leaves it unchanged.
Trait Implementations
impl Clone for PaintEdit
[src]
fn clone(&self) -> PaintEdit
[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 PartialEq for PaintEdit
[src]
fn eq(&self, __arg_0: &PaintEdit) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PaintEdit) -> bool
[src]
This method tests for !=
.