PaintType

Type Alias PaintType 

Source
pub type PaintType = Brush<ImageBrush<ImageSource>>;
Expand description

A kind of paint that can be used for filling and stroking shapes.

Aliased Type§

pub enum PaintType {
    Solid(AlphaColor<Srgb>),
    Gradient(Gradient),
    Image(ImageBrush<ImageSource>),
}

Variants§

§

Solid(AlphaColor<Srgb>)

Solid color brush.

§

Gradient(Gradient)

Gradient brush.

§

Image(ImageBrush<ImageSource>)

Image brush.