Returns true if the path is volatile; it will not be altered or discarded by the caller after it is drawn. Path by default have volatile set false, allowing Surface to attach a cache of data which speeds repeated drawing. If true, Surface may not speed repeated drawing. @return tru
()
| 280 | * @return true if caller will alter Path after drawing |
| 281 | */ |
| 282 | public boolean isVolatile() { |
| 283 | try { |
| 284 | Stats.onNativeCall(); |
| 285 | return _nIsVolatile(_ptr); |
| 286 | } finally { |
| 287 | Reference.reachabilityFence(this); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * <p>Specifies whether Path is volatile; whether it will be altered or discarded |