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

The size of the brush stroke

The opacity of the brush stroke

The colour of the brush stroke

Methods

impl BrushProperties
[src]

[src]

Creates a new brush properties object with the settings at their defaults

Trait Implementations

impl Clone for BrushProperties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BrushProperties
[src]

impl PartialEq for BrushProperties
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for BrushProperties
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations