Canvacord

ImgenStep

Properties

height

The height of the image.

Type:number

postprocess

The function to call after processing has finished.

Type:(canvas: Canvas, ctx: SKRSContext2D, source: ImgenStep) =>| void

preprocess

The function to call before processing this step.

Type:(canvas: Canvas, ctx: SKRSContext2D, source: ImgenStep) =>| void

process

The function to call when processing this step.

Type:(canvas: Canvas, ctx: SKRSContext2D, source: ImgenStep) =>| void

source

The image to render.

width

The width of the image.

Type:number

x

The x position of the image.

Type:number

y

The y position of the image.

Type:number