Skip to main content

stroke_style_flags

Function stroke_style_flags 

Source
pub fn stroke_style_flags(
    cap: LineCap,
    join: LineJoin,
    closed: bool,
    start_open: bool,
    end_open: bool,
) -> u32
Expand description

Encodes LineCap, LineJoin, closure, and open-endpoint bits into a GpuPathSegment::flags bitmask.