IconSprites Class

Icon sprites are loaded from .png files in the assets directory of imodeljs-native. They are cached by name, and the cache is cleared when the ToolAdmin is shut down.

Methods

Name Description
emptyAll(): void Static Empty the cache, disposing all existing Sprites.  
getSpriteFromUrl(spriteUrl: string): Sprite Static Look up an IconSprite by url.  

Defined in

Last Updated: 20 September, 2019