ImageEn, unit iexUserInteractions

TIEFillToolInteraction.ColorSelectActions

TIEFillToolInteraction.ColorSelectActions


Declaration

property ColorSelectActions: TIEColorSelectActions;


Description

What occurs when the user selects a color when enabling the color picker interaction (miColorPicker).

Item Description
ieccBackground Sets Background
ieccChromaKeyColor Sets ChromaKeyOptions.KeyColor
ieccBrushColor Sets BrushTool.BrushColor
ieccFillColor Sets FillTool.ColorFillValue
ieccRotateBackground Sets RotateTool.BackgroundColor
ieccLayerBorder If a layer other than background layer is selected, it sets the BorderColor
ieccLayerFill If a layer other than background layer is selected, it sets the FillColor
Note: Color selection will also always trigger ieiColorPickerHover and ieiColorPickerClick events for OnUserInteraction

Default: [ieccBrushColor, ieccFillColor]


Example

// Selecting a color updates all tools
ImageEnView1.FillTool.ColorSelectActions := [ieccChromaKeyColor, ieccBrushColor, ieccFillColor, ieccRotateBackground, ieccLayerFill];
ImageEnView1.MouseInteractGeneral := [ miColorPicker ];