clearCache static method

void clearCache()

Clear all caches (call when memory is low)

Implementation

static void clearCache() {
  _paintCache.clear();
  _textPainterCache.clear();
  _pathCache.clear();
  _shaderCache.clear();
}