#
Class: MultiboardItem#
HierarchyHandle<multiboarditem>
↳ MultiboardItem
#
Constructors#
constructornew MultiboardItem(board: Multiboard, x: number, y: number): MultiboardItem
#
Parameters:Name | Type |
---|---|
board | Multiboard |
x | number |
y | number |
Returns: MultiboardItem
Defined in: handles/multiboard.ts:5
#
Properties#
handle• Readonly
handle: multiboarditem
Defined in: handles/handle.ts:6
#
Accessors#
idid(): number
Get the unique ID of the handle. The ID is recycled once you destroy the object.
Returns: number
The unique ID of a handle object.
Defined in: handles/handle.ts:18
#
Methods#
destroydestroy(): void
Returns: void
Defined in: handles/multiboard.ts:14
#
setIconsetIcon(icon: string): void
#
Parameters:Name | Type |
---|---|
icon | string |
Returns: void
Defined in: handles/multiboard.ts:18
#
setStylesetStyle(showValue: boolean, showIcon: boolean): void
#
Parameters:Name | Type |
---|---|
showValue | boolean |
showIcon | boolean |
Returns: void
Defined in: handles/multiboard.ts:22
#
setValuesetValue(val: string): void
#
Parameters:Name | Type |
---|---|
val | string |
Returns: void
Defined in: handles/multiboard.ts:26
#
setValueColorsetValueColor(red: number, green: number, blue: number, alpha: number): void
#
Parameters:Name | Type |
---|---|
red | number |
green | number |
blue | number |
alpha | number |
Returns: void
Defined in: handles/multiboard.ts:30
#
setWidthsetWidth(width: number): void
#
Parameters:Name | Type |
---|---|
width | number |
Returns: void
Defined in: handles/multiboard.ts:34
#
fromHandlestatic fromHandle(handle: multiboarditem): MultiboardItem
#
Parameters:Name | Type |
---|---|
handle | multiboarditem |
Returns: MultiboardItem
Defined in: handles/multiboard.ts:38