Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.DrawFocusRectangle Method

Draws a focus indicator rectangle using a dotted or themed focus style.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
procedure DrawFocusRectangle(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; AColor: TTMSFNCGraphicsColor; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;
virtual void __fastcall DrawFocusRectangle(TTMSFNCGraphicsStroke* AStroke, const System::Types::TRectF &ARect, TTMSFNCGraphicsColor AColor, TTMSFNCGraphicsModifyRectMode AModifyRectMode = (TTMSFNCGraphicsModifyRectMode)(0x2));

Parameters

Name Description
AStroke The stroke style used for the focus rectangle.
ARect The rectangle to draw the focus indicator around.
AColor The color of the focus indicator.
AModifyRectMode Controls pixel-boundary adjustments applied to the rectangle.