MCPcopy Create free account
hub / github.com/HumbleUI/Skija / closePath

Method closePath

shared/java/PathBuilder.java:507–512  ·  view source on GitHub ↗

Appends PathVerb#CLOSE to PathBuilder. A closed contour connects the first and last Point with line, forming a continuous loop. Open and closed contour draw the same with PaintMode#FILL. With PaintMode#STROKE, open contour draws PaintStrokeCap at contour start and

()

Source from the content-addressed store, hash-verified

505 * @return reference to PathBuilder
506 */
507 @NotNull @Contract("-> this")
508 public PathBuilder closePath() {
509 Stats.onNativeCall();
510 _nClosePath(_ptr);
511 return this;
512 }
513
514 /**
515 * Append a series of {@link #lineTo(float, float)}

Callers 15

localClipBoundsMethod · 0.95
deviceClipBoundsMethod · 0.95
squircleMethod · 0.95
fillMethod · 0.95
fillPolygonMethod · 0.95
baseMethod · 0.80
iterMethod · 0.80
convexityMethod · 0.80
isShapeMethod · 0.80
checksMethod · 0.80
storageMethod · 0.80
swapMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nClosePathMethod · 0.95

Tested by 11

localClipBoundsMethod · 0.76
deviceClipBoundsMethod · 0.76
baseMethod · 0.64
iterMethod · 0.64
convexityMethod · 0.64
isShapeMethod · 0.64
checksMethod · 0.64
storageMethod · 0.64
swapMethod · 0.64
serializeMethod · 0.64
drawMethod · 0.64