Interface: CanvasProps
CanvasView.CanvasProps
Properties for the canvas.
<Canvas style={styles.canvas} onContext2D={handleContext2D} />
Hierarchy
ViewProps
↳ CanvasProps
Methods
onContext2D
▸ onContext2D(ctx
): void
Parameters
Name | Type |
---|---|
ctx | CanvasRenderingContext2D |
Returns
void