Struct flo_animation::InkDefinition [] [src]

pub struct InkDefinition {
    pub min_width: f32,
    pub max_width: f32,
    pub scale_up_distance: f32,
}

Ink brushes are solid lines of varying width. This defines how they behave. The actual behaviour is implemented by the InkBrush structure.

Fields

Width at pressure 0%

Width at pressure 100%

Methods

impl InkDefinition
[src]

[src]

Creates the default ink definition

[src]

Creates the default ink definition for the eraser brush

Trait Implementations

impl Clone for InkDefinition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for InkDefinition
[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 InkDefinition
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InkDefinition

impl Sync for InkDefinition