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

Method makePolygon

shared/java/Path.java:113–116  ·  view source on GitHub ↗
(@NotNull Point[] pts, boolean isClosed)

Source from the content-addressed store, hash-verified

111 }
112
113 @NotNull @Contract("_, _ -> new")
114 public static Path makePolygon(@NotNull Point[] pts, boolean isClosed) {
115 return makePolygon(pts, isClosed, PathFillMode.WINDING, false);
116 }
117
118 @NotNull @Contract("_, _, _ -> new")
119 public static Path makePolygon(@NotNull Point[] pts, boolean isClosed, @NotNull PathFillMode fillMode) {

Callers 1

drawMakesMethod · 0.95

Calls 2

onNativeCallMethod · 0.95
_nMakePolygonMethod · 0.95

Tested by

no test coverage detected