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
colorAttribute
readonlycolorAttribute:PropertySchema<string,"string",false>
drawingMode
readonlydrawingMode:PropertySchema<"image"|"color",EnumPropertyType<"image"|"color">,boolean>
imageAttribute
readonlyimageAttribute:PropertySchema<string,"string",false>
name
readonlyname:PropertySchema<string,"string",false>
padding
readonlypadding:PropertySchema<number,"number",false>