Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

imageSchema

const imageSchema: object

Defined in: packages/node-image/src/types.ts:37

Schema for the image layer.

Properties:

  • name: Unique name for this layer instance
  • drawingMode: How to render the image (“image” or “color”)
  • padding: Padding around the image (0-1 percentage)
  • colorAttribute: Attribute to read color from (for “color” mode)
  • imageAttribute: Attribute to read image URL from

Type Declaration

colorAttribute

readonly colorAttribute: PropertySchema<string, "string", false>

drawingMode

readonly drawingMode: PropertySchema<"image" | "color", EnumPropertyType<"image" | "color">, boolean>

imageAttribute

readonly imageAttribute: PropertySchema<string, "string", false>

name

readonly name: PropertySchema<string, "string", false>

padding

readonly padding: PropertySchema<number, "number", false>