TTMSFNCGraphicsContext.FillRoundRect Method
Fills a rounded rectangle using
AFillsettings.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphicsContext
Syntax
procedure FillRoundRect(AFill: TTMSFNCGraphicsFill; ARect: TRectF; ARounding: Single; ACorners: TTMSFNCGraphicsCorners; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); virtual; abstract;
Parameters
| Name | Description |
|---|---|
AFill |
Fill settings (color, kind, gradient) to apply. |
ARect |
Bounding rectangle in floating-point pixels. |
ARounding |
Corner radius in pixels. |
ACorners |
Set of corners to round; unselected corners remain square. |
AModifyRectMode |
Pixel adjustment applied to the rectangle edges to align with the physical pixel grid. |