TTMSFNCGraphicsContext.DrawFocusRectangle Method
Draws a focus indicator around a rectangle using the given stroke settings.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphicsContext
Syntax
procedure DrawFocusRectangle(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; AColor: TTMSFNCGraphicsColor; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); virtual; abstract;
Parameters
| Name | Description |
|---|---|
AStroke |
Stroke settings used to draw the focus outline. |
ARect |
Rectangle around which the focus indicator is drawn. |
AColor |
Color of the focus indicator. |
AModifyRectMode |
Pixel adjustment applied to the rectangle edges to align with the physical pixel grid. |