MCPcopy Create free account
hub / github.com/JetBrains/skija / closePath

Method closePath

shared/java/Path.java:1168–1172  ·  view source on GitHub ↗

Appends PathVerb#CLOSE to Path. 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 end; cl

()

Source from the content-addressed store, hash-verified

1166 * @see <a href="https://fiddle.skia.org/c/@Path_close">https://fiddle.skia.org/c/@Path_close</a>
1167 */
1168 public Path closePath() {
1169 Stats.onNativeCall();
1170 _nClosePath(_ptr);
1171 return this;
1172 }
1173
1174 /**
1175 * <p>Approximates conic with quad array. Conic is constructed from start Point p0,

Callers 15

drawPathsMethod · 0.95
executeMethod · 0.80
iterMethod · 0.80
convexityMethod · 0.80
isShapeMethod · 0.80
checksMethod · 0.80
storageMethod · 0.80
swapMethod · 0.80
serializeMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
FigmaSceneMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nClosePathMethod · 0.95

Tested by 9

executeMethod · 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