imageSchema
constimageSchema: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
Section titled “Type Declaration”colorAttribute
Section titled “colorAttribute”
readonlycolorAttribute:PropertySchema<string,"string",false>
drawingMode
Section titled “drawingMode”
readonlydrawingMode:PropertySchema<"image"|"color",EnumPropertyType<"image"|"color">,boolean>
imageAttribute
Section titled “imageAttribute”
readonlyimageAttribute:PropertySchema<string,"string",false>
readonlyname:PropertySchema<string,"string",false>
padding
Section titled “padding”
readonlypadding:PropertySchema<number,"number",false>