Skip to main content

ItemColorStateType

Index

Properties

cancelButtonX

cancelButtonX: number

colorDisplayButtonX

colorDisplayButtonX: number

colorGroups

colorGroups: ColorGroup[]

colorPickerButtonX

colorPickerButtonX: number

colors

colors: BCColor[]

The colors of the item

contentY

contentY: number

readonlydefaultColors

defaultColors: readonly BCColor[]

The underlying assets default colors.

See more at Asset.DefaultColor

readonlydefaultOpacity

defaultOpacity: readonly number[]

The underlying assets default opacity.

See more at AssetLayer.Opacity of the asset's layers

optionaldrawExport

drawExport?: (data) => Promise<void>

Type declaration

    • (data): Promise<void>
    • Parameters

      • data: string

      Returns Promise<void>

optionaldrawImport

drawImport?: () => Promise<string>

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

editOpacity

editOpacity: boolean

Whether the opacity is user-configurable

groupButtonWidth

groupButtonWidth: number

readonlyinitialColors

initialColors: readonly BCColor[]

The initial colors of the item prior to entering the item color screen

readonlyinitialOpacity

initialOpacity: readonly number[]

The initial opacity of the item prior to entering the item color screen

intermediateSavedColors

intermediateSavedColors: readonly BCColor[]

The colors of the item after the last save in the color picker.

Relevant for items with multiple colorable layers, as one may access the color picker multiple times from within the same item color screen.

See more at ItemColorStateType.initialColors for the default value

intermediateSavedOpacity

intermediateSavedOpacity: readonly number[]

The opacity of the item after the last save in the color picker.

Relevant for items with multiple colorable layers, as one may access the color picker multiple times from within the same item color screen.

See more at ItemColorStateType.initialOpacity for the default value

opacity

opacity: number[]

The opacity of the item

pageCount

pageCount: number

pageSize

pageSize: number

paginationButtonX

paginationButtonX: number

resetButtonX

resetButtonX: number

saveButtonX

saveButtonX: number

simpleMode

simpleMode: boolean