Table of Contents

TTMSFNCGraphicsContextiOS.DrawFocusRectangle Method

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

API unit family: TMSFNCGraphics.iOS Declaring type: TTMSFNCGraphicsContextiOS

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.