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
size: Binding<f32>
The size of the brush (pixels)
opacity: Binding<f32>
The opacity of the brush (0-1)
color: Binding<Color>
The colour of the brush (in general alpha should be left at 1.0 here)
brush_properties: BindRef<BrushProperties>
The brush properties for the current brush view model