MCPcopy Create free account
hub / github.com/JetBrains/skija / getGenerationId

Method getGenerationId

shared/java/Path.java:1928–1935  ·  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

1926 * @see <a href="https://bugs.chromium.org/p/skia/issues/detail?id=1762">https://bugs.chromium.org/p/skia/issues/detail?id=1762</a>
1927 */
1928 public int getGenerationId() {
1929 try {
1930 Stats.onNativeCall();
1931 return _nGetGenerationId(_ptr);
1932 } finally {
1933 Reference.reachabilityFence(this);
1934 }
1935 }
1936
1937 /**
1938 * Returns if Path data is consistent. Corrupt Path data is detected if

Callers 6

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

Calls 2

onNativeCallMethod · 0.95
_nGetGenerationIdMethod · 0.95

Tested by 3

executeMethod · 0.36
executeMethod · 0.36
utilsMethod · 0.36