TTMSFNCToolBarColorPicker.DrawSelectedColor Method
Draws the selected color swatch inside the button. Override to customize the swatch rendering.
API unit family: TMSFNCToolBar
Declaring type: TTMSFNCToolBarColorPicker
Syntax
procedure DrawSelectedColor(AGraphics: TTMSFNCGraphics; ARect: TRectF); virtual;
Parameters
| Name | Description |
|---|---|
AGraphics |
Graphics context to draw onto. |
ARect |
Rectangle reserved for the color swatch. |