Trait flo_animation::VectorElement [] [src]

pub trait VectorElement: Send + Any {
    fn id(&self) -> ElementId;
fn to_path(&self, properties: &VectorProperties) -> Option<Vec<Path>>;
fn render(&self, gc: &mut GraphicsPrimitives, properties: &VectorProperties); fn update_properties(&self, _properties: &mut VectorProperties) { ... } }

Represents a vector element in a frame

Required Methods

The ID of this element

Retrieves the paths for this element, if there are any

Renders this vector element

Provided Methods

Updates the vector properties for future elements

Implementors