fillPathWithPaint

fun fillPathWithPaint(src: Path, paint: Paint, dst: PathBuilder, cull: Rect?, resScale: Float): Boolean

Returns the filled equivalent of the stroked path.


fun fillPathWithPaint(src: Path, paint: Paint, dst: PathBuilder, cull: Rect?, matrix: Matrix33): Boolean

Returns the filled equivalent of the stroked path.

Return

true if the result can be filled, or false if it is a hairline (to be stroked).

Parameters

src

SkPath read to create a filled version

paint

uses settings for stroke cap, width, miter, join, and patheffect.

dst

results are written to this builder.

cull

optional limit passed to SkPathEffect

matrix

matrix to take into acount for increased precision (if it scales up).


fun fillPathWithPaint(src: Path, paint: Paint): Path

Returns the filled equivalent of the stroked path.

Parameters

src

SkPath read to create a filled version

paint

uses settings for stroke cap, width, miter, join, and patheffect.


Returns the filled equivalent of the stroked path.

Return

true if the result can be filled, or false if it is a hairline (to be stroked).

Parameters

src

SkPath read to create a filled version

paint

uses settings for stroke cap, width, miter, join, and patheffect.

dst

results are written to this builder.