Table of Contents

TTMSFNCGraphicsContextAndroid.DrawRoundRect Method

Draws the outline of a rectangle with rounded corners using the specified stroke style.

API unit family: TMSFNCGraphics.Android Declaring type: TTMSFNCGraphicsContextAndroid

Syntax

procedure DrawRoundRect(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; ARounding: Single; ACorners: TTMSFNCGraphicsCorners; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;

Parameters

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