Skip to main content

sdk.illustrationapi.updateillustration

Home > @kittl/sdk > IllustrationAPI > updateIllustration

IllustrationAPI.updateIllustration() method

Updates an existing illustration on the design canvas.

This method modifies the properties of an existing illustration object without changing its source image or recalculating dimensions.

Signature:

updateIllustration(params: UpdateIllustrationParams, opts?: DesignApiOptions): NormalizedIllustrationObject;

Parameters

Parameter

Type

Description

params

UpdateIllustrationParams

The parameters for updating the illustration

opts

DesignApiOptions

(Optional) Optional design API configuration options

Returns:

NormalizedIllustrationObject

The result of the illustration update operation