PanelSpriteObjectDataType: {
    bottomMargin: number;
    height: number;
    leftMargin: number;
    rightMargin: number;
    texture: string;
    tiled: boolean;
    topMargin: number;
    width: number;
}

Type declaration

  • bottomMargin: number

    The bottom margin

  • height: number

    The object height

  • leftMargin: number

    The left margin

  • rightMargin: number

    The right margin

  • texture: string

    The name of the resource containing the texture to use

  • tiled: boolean

    Are the central part and borders tiled?

  • topMargin: number

    The top margin

  • width: number

    The object width