Canvacord

ImageGenerationStep

Properties

custom

The custom steps to apply to the canvas.

image

The image to render.

postprocess

The function to call after processing has finished.

Type:(canvas: Canvas, ctx: SKRSContext2D, step: ImageGenerationStep) =>| void

preprocess

The function to call before processing this step.

Type:(canvas: Canvas, ctx: SKRSContext2D, step: ImageGenerationStep) =>| void

process

The function to call when processing this step.

Type:(canvas: Canvas, ctx: SKRSContext2D, step: ImageGenerationStep) =>| void

text

The text to render.