Enum flo_canvas::PathAttribute [−][src]
pub enum PathAttribute {
Stroke(f32, Color),
StrokePixels(f32, Color),
Fill(Color),
FillTexture(TextureId, (f32, f32), (f32, f32), Option<Transform2D>),
FillGradient(GradientId, (f32, f32), (f32, f32), Option<Transform2D>),
}Expand description
Attributes used to render a bezier path
Variants
Path is drawn as a stroke with the specified width and colour
Path is drawn as a stroke with the specified pixel width and colour
Path is filled with the specified colour
Tuple Fields of Fill
0: ColorPath is filled with the specified texture
Path is filled with the specified gradient
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PathAttribute
impl Send for PathAttribute
impl Sync for PathAttribute
impl Unpin for PathAttribute
impl UnwindSafe for PathAttribute
Blanket Implementations
Mutably borrows from an owned value. Read more