Skip to main content

build_shape_path

Function build_shape_path 

Source
pub fn build_shape_path(
    shape_type: &ShapeType,
    x: f32,
    y: f32,
    w: f32,
    h: f32,
    corner_radius: Option<f32>,
) -> Option<Path>
Expand description

Build a Path for the given shape type without drawing it.