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.

extensions

Methods

Name Description
constructor(): IconSprites    
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: 30 November, 2023