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

Method makeWithFillMode

shared/java/Path.java:316–324  ·  view source on GitHub ↗

Creates an Path with the same properties and data, and with PathFillMode set to fillMode. @return new Path

(@NotNull PathFillMode fillMode)

Source from the content-addressed store, hash-verified

314 * @return new {@link Path}
315 */
316 @NotNull @Contract("_ -> new")
317 public Path makeWithFillMode(@NotNull PathFillMode fillMode) {
318 try {
319 Stats.onNativeCall();
320 return new Path(_nMakeWithFillMode(_ptr, fillMode.ordinal()));
321 } finally {
322 ReferenceUtil.reachabilityFence(this);
323 }
324 }
325
326 /**
327 * Returns if {@link PathFillMode} describes area outside {@link Path}

Callers 1

drawPathsMethod · 0.95

Calls 3

onNativeCallMethod · 0.95
_nMakeWithFillModeMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected