Skip to main content
Version: 0.2.2

Interface: CanvasProps

CanvasView.CanvasProps

Properties for the canvas.

<Canvas style={styles.canvas} onContext2D={handleContext2D} />

Hierarchy

  • ViewProps

    CanvasProps

Methods

onContext2D

onContext2D(ctx): void

Parameters

NameType
ctxCanvasRenderingContext2D

Returns

void