API Reference > imodeljs-frontend > Views > SpriteLocation > drawDecoration drawDecoration Method Draw this sprite onto the supplied canvas. drawDecoration(ctx: CanvasRenderingContext2D): void see CanvasDecoration.drawDecoration Parameter Type Description ctx CanvasRenderingContext2D Returns - void Defined in core/frontend/src/Sprites.ts Line 129 Last Updated: 12 June, 2024