Function: createImagePrimitive()
ts
function createImagePrimitive(context, data, options?): ImagePrimitive;Experimental
Create an ImagePrimitive.
Parameters
| Parameter | Type |
|---|---|
context | PrimitiveContext |
data | Pick<ImageQuadData, "source" | "x0" | "y0" | "x1" | "y1"> & Partial<ImageQuadData> |
options? | ImageOptions |