Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IDrawableLayer

interface IDrawableLayer
Extends ILayer IDrawableLayer is ILayer that can be used to IPaint on the ICanvas. This ILayer can be invalidated for redraw.

Methods

invalidate()

void invalidate()
Invalidates the ILayer for redraw. This API has to be invoked, whenever there is a change in DrawableLayer state which would result in drawing a different content. If IDrawableLayer::invalidate() is invoked, then there is a guarantee that IDrawableLayerDelegate::onDraw would be invoked before the next frame is drawn.
Last modified on October 29, 2026