Skip to main content

stroked_outline_path

Function stroked_outline_path 

Source
pub fn stroked_outline_path(
    centerline: &BezPath,
    stroke: &ResolvedStroke,
) -> Option<BezPath>
Expand description

Builds the filled outline path corresponding to a stroked centerline path.

This is useful for hit testing, masking, and occlusion, where stroke coverage needs to be treated as fill geometry.