A property item which supports Image properties

interface IImagePropertyItem {
    enable: boolean;
    id: string;
    imageHeight: number;
    imageWidth: number;
    paneId: string;
    typeName: PropertyItemType;
    value: Readonly<string | ImageResourceData>;
    visible: boolean;
    resizeImage(width: number, height: number): void;
}

Hierarchy (View Summary)

Properties

enable: boolean

If the item is enabled in the UI.

id: string

Unique ID for the property item.

imageHeight: number

Height of the image.

imageWidth: number

Width of the image.

paneId: string

The parent pane id.

The type name of the target property.

value: Readonly<string | ImageResourceData>

Current value of the property item.

visible: boolean

If the item should be visible in the UI.

Methods

  • Beta

    Parameters

    • width: number

      New width of the image.

    • height: number

      New height of the image.

    Returns void

    Updates the size of the image.