Function fill_path_with_paint
pub fn fill_path_with_paint<'a>(
src: &Handle<SkPath>,
paint: &Handle<SkPaint>,
dst: &mut Handle<SkPath>,
cull_rect: impl Into<Option<&'a Rect>>,
matrix: impl Into<Option<Matrix>>,
) -> boolExpand description
Returns the filled equivalent of the stroked path.
src-Pathread to create a filled versionpaint-Paint, from which attributes such as stroke cap, width, miter, and join, as well aspath_effectwill be used.dst- resultingPathcull_rect- optional limit passed tocrate::PathEffectmatrix- if scale > 1, increase precision, else if (0 < scale < 1) reduce precision to favor speed and size
Returns: true if the dst path was updated, false if it was not (e.g. if the path
represents hairline and cannot be filled).