Skip to main content
Table of Contents

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

FMX.TMSFNCToolBar.hppPascalC++
procedure DrawSelectedColor(AGraphics: TTMSFNCGraphics; ARect: TRectF); virtual;
virtual void __fastcall DrawSelectedColor(TTMSFNCGraphics* AGraphics, const System::Types::TRectF &ARect);

Parameters

Name Description
AGraphics Graphics context to draw onto.
ARect Rectangle reserved for the color swatch.