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

Method isFinite

shared/java/Path.java:456–464  ·  view source on GitHub ↗

Returns true for finite Point array values between negative Float.MIN_VALUE and positive Float.MAX_VALUE. Returns false for any Point array value of Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, or Float.NaN. @return true if all Point values are finite

()

Source from the content-addressed store, hash-verified

454 * @return true if all Point values are finite
455 */
456 @Contract(pure = true)
457 public boolean isFinite() {
458 try {
459 Stats.onNativeCall();
460 return _nIsFinite(_ptr);
461 } finally {
462 ReferenceUtil.reachabilityFence(this);
463 }
464 }
465
466 /**
467 * Returns true if the path is volatile; it will not be altered or discarded

Calls 3

onNativeCallMethod · 0.95
_nIsFiniteMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 2

executeMethod · 0.36
checksMethod · 0.36