Interface: IImagePropertyItem experimental
Beta
A property item which supports Image properties
Extends
Properties
enable
enable:
boolean
Beta
Remarks
If the item is enabled in the UI.
Inherited from
id
readonlyid:string
Beta
Remarks
Unique ID for the property item.
Inherited from
imageHeight
readonlyimageHeight:number
Beta
Remarks
Height of the image.
imageWidth
readonlyimageWidth:number
Beta
Remarks
Width of the image.
paneId
readonlypaneId:string
Beta
Remarks
The parent pane id.
Inherited from
typeName
readonlytypeName:PropertyItemType
Beta
Remarks
The type name of the target property.
Inherited from
value
readonlyvalue:Readonly<string|ImageResourceData>
Beta
Remarks
Current value of the property item.
visible
visible:
boolean
Beta
Remarks
If the item should be visible in the UI.
Inherited from
Methods
resizeImage()
resizeImage(
width,height):void
Beta
Parameters
width
number
New width of the image.
height
number
New height of the image.
Returns
void
Remarks
Updates the size of the image.
