Enum sierra::PolygonMode [−][src]
pub enum PolygonMode { Fill, Line, Point, }
Expand description
PolygonMode rasterization mode.
Variants
Whole polygon is rasterized. That is, fragments are generated to cover all points inside the polygon.
Edges are rasterized as lines. That is, fragments are generated to cover all points on polygon edges.
Vertices are rasterized as points. That is, fragments are generated to cover only points that are polygon vertices.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PolygonMode
impl Send for PolygonMode
impl Sync for PolygonMode
impl Unpin for PolygonMode
impl UnwindSafe for PolygonMode
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more