Table of Contents

TTMSFNCGraphicsContextMac.FillRoundRect Method

Fills a rectangle with rounded corners using the specified fill style.

API unit family: TMSFNCGraphics.Mac Declaring type: TTMSFNCGraphicsContextMac

Syntax

procedure FillRoundRect(AFill: TTMSFNCGraphicsFill; ARect: TRectF; ARounding: Single; ACorners: TTMSFNCGraphicsCorners; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;

Parameters

Name Description
AFill The fill style to apply.
ARect The rectangle to fill.
ARounding The corner radius in canvas units.
ACorners The set of corners to round.
AModifyRectMode Controls pixel-boundary adjustments applied to the rectangle.