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

Method getGenerationId

shared/java/Path.java:1180–1188  ·  view source on GitHub ↗

Returns a non-zero, globally unique value. A different value is returned if verb array, Point array, or conic weight changes. Setting PathFillMode does not change generation identifier. Each time the path is modified, a different generation identifier will be returned. {@l

()

Source from the content-addressed store, hash-verified

1178 * @see <a href="https://bugs.chromium.org/p/skia/issues/detail?id=1762">https://bugs.chromium.org/p/skia/issues/detail?id=1762</a>
1179 */
1180 @Contract(pure = true)
1181 public int getGenerationId() {
1182 try {
1183 Stats.onNativeCall();
1184 return _nGetGenerationId(_ptr);
1185 } finally {
1186 ReferenceUtil.reachabilityFence(this);
1187 }
1188 }
1189
1190 /**
1191 * Returns if Path data is consistent. Corrupt Path data is detected if

Callers 6

baseMethod · 0.45
executeMethod · 0.45
utilsMethod · 0.45
drawMethod · 0.45
setColorMethod · 0.45
setTextMethod · 0.45

Calls 3

onNativeCallMethod · 0.95
_nGetGenerationIdMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 3

baseMethod · 0.36
executeMethod · 0.36
utilsMethod · 0.36