LayerImageOptions
Defined in: packages/node-image/src/types.ts:61
Options for the layerImage() function. Extends schema options with programmatic-only options.
Extends
Section titled “Extends”SchemaOptions
Properties
Section titled “Properties”colorAttribute?
Section titled “colorAttribute?”
readonlyoptionalcolorAttribute?:string
Defined in: packages/node-image/src/types.ts:41
Inherited from
Section titled “Inherited from”SchemaOptions.colorAttribute
drawingMode?
Section titled “drawingMode?”
readonlyoptionaldrawingMode?:"image"|"color"
Defined in: packages/node-image/src/types.ts:39
Inherited from
Section titled “Inherited from”SchemaOptions.drawingMode
imageAttribute?
Section titled “imageAttribute?”
readonlyoptionalimageAttribute?:string
Defined in: packages/node-image/src/types.ts:42
Inherited from
Section titled “Inherited from”SchemaOptions.imageAttribute
readonlyoptionalname?:string
Defined in: packages/node-image/src/types.ts:38
Inherited from
Section titled “Inherited from”SchemaOptions.name
padding?
Section titled “padding?”
readonlyoptionalpadding?:number
Defined in: packages/node-image/src/types.ts:40
Inherited from
Section titled “Inherited from”SchemaOptions.padding
textureManager?
Section titled “textureManager?”
optionaltextureManager?:TextureManager
Defined in: packages/node-image/src/types.ts:67
Optional TextureManager instance to use. If not provided, a new one will be created internally. Pass an existing TextureManager to share textures across multiple layer instances.
textureManagerOptions?
Section titled “textureManagerOptions?”
optionaltextureManagerOptions?:Partial<TextureManagerOptions>
Defined in: packages/node-image/src/types.ts:73
Options for creating the internal TextureManager. Only used if textureManager is not provided.