Struct flo::standard_tools::InkModel [] [src]

pub struct InkModel {
    pub size: Binding<f32>,
    pub opacity: Binding<f32>,
    pub color: Binding<Color>,
    pub brush_properties: BindRef<BrushProperties>,
}

The ink UI model

Fields

The size of the brush (pixels)

The opacity of the brush (0-1)

The colour of the brush (in general alpha should be left at 1.0 here)

The brush properties for the current brush view model

Methods

impl InkModel
[src]

[src]

Creates a new ink model with the default settings

Trait Implementations

Auto Trait Implementations

impl Send for InkModel

impl Sync for InkModel