Creates an Path with the same properties and data, and with PathFillMode set to fillMode. @return new Path
(@NotNull PathFillMode fillMode)
| 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} |
no test coverage detected