Enum ggez::graphics::DrawMode [−][src]
pub enum DrawMode {
Stroke(StrokeOptions),
Fill(FillOptions),
}
Expand description
Specifies whether a mesh should be drawn filled or as an outline.
Variants
Stroke(StrokeOptions)
A stroked line with given parameters, see StrokeOptions
documentation.
Tuple Fields of Stroke
Fill(FillOptions)
A filled shape with given parameters, see FillOptions
documentation.
Tuple Fields of Fill
0: FillOptions
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DrawMode
impl UnwindSafe for DrawMode
Blanket Implementations
Mutably borrows from an owned value. Read more