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
()
| 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 |