Skip to main content
Table of Contents

TTMSFNCGraphicsContextWin.DrawEllipse Method

Draws the outline of an ellipse inscribed within the specified rectangle.

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

FMX.TMSFNCGraphics.Win.hppPascalC++
procedure DrawEllipse(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;
virtual void __fastcall DrawEllipse(TTMSFNCGraphicsStroke* AStroke, const System::Types::TRectF &ARect, TTMSFNCGraphicsModifyRectMode AModifyRectMode = (TTMSFNCGraphicsModifyRectMode)(0x2));

Parameters

Name Description
AStroke The stroke style to apply.
ARect The bounding rectangle for the ellipse.
AModifyRectMode Controls pixel-boundary adjustments applied to the rectangle.