Tile - YToolMode - Show Color Picker – Ylands

From Bohemia Interactive Community
Revision as of 15:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Show Color Picker(Selected color, Default color, Alpha type, On Color Chosen, On Canceled)

YlandsTile-1459.png

static showColorPicker(selectedColor: YColor, defaultColor: YColor, alphaType: YAlphaType, onColorChosen: (color: YColor) => void, onCanceled: () => void): void;

Parameters

selectedColor

defaultColor

alphaType

onColorChosen

onCanceled

Availability

Description

Opens the Color Picker window. Returns a color based on the selected values.