Interface IDrawableLayerDelegate
interface IDrawableLayerDelegate
Extends com.amazon.apmf.IStandard
Custom drawing callback required to construct drawable layer.
Methods
onDraw()
Implements custom drawing logic on the providedvoidonDraw(ICanvas*canvas,IDrawableLayer*layer)
ICanvas.
This method is called to perform custom drawing operations on the provided ICanvas,
using the context of the drawable layer. It is strongly advised not to take any strong reference
of the layer in this callback as it could result in cyclic dependency.
Parameters
canvas
ICanvas* — Required
The ICanvas to draw and IPaint on.
layer
IDrawableLayer* — Required
Drawable layer being drawn, providing access to its properties and methods.

