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

procedure DrawFocusRectangle(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; AColor: TTMSFNCGraphicsColor; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;

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.