RoughWebOptimized extension
Web-optimized version of the Rough canvas extension
This extension includes optimizations specifically for web performance:
- Path caching for complex shapes
- Batch drawing operations
- Memory-efficient path construction
- Paint object reuse
- on
Methods
-
drawRoughOptimized(
Drawable drawable, Paint pathPaint, Paint fillPaint) → void -
Available on Canvas, provided by the RoughWebOptimized extension
Web-optimized rough drawing with performance enhancements
Static Methods
-
clearWebOptimizationCaches(
) → void -
Available on Canvas, provided by the RoughWebOptimized extension
Clear caches - useful for memory management -
getCacheStats(
) → Map< String, int> -
Available on Canvas, provided by the RoughWebOptimized extension
Get cache statistics for debugging