Specifies whether Path is volatile; whether it will be altered or discarded by the caller after it is drawn. Path by default have volatile set false, allowing SkBaseDevice to attach a cache of data which speeds repeated drawing. Mark temporary paths, discarded or modified after use, as vo
(boolean isVolatile)
| 306 | * @return this |
| 307 | */ |
| 308 | public Path setVolatile(boolean isVolatile) { |
| 309 | Stats.onNativeCall(); |
| 310 | _nSetVolatile(_ptr, isVolatile); |
| 311 | return this; |
| 312 | } |
| 313 | |
| 314 | /** |
| 315 | * <p>Tests if line between Point pair is degenerate.</p> |