Table of Contents

TTMSFNCGraphicsContext.DrawEllipse Method

Strokes an ellipse inscribed within ARect using AStroke settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

procedure DrawEllipse(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); virtual; abstract;

Parameters

Name Description
AStroke Stroke settings (color, width, kind) to apply.
ARect Bounding rectangle of the ellipse in floating-point pixels.
AModifyRectMode Pixel adjustment applied to the bounding box edges to align with the physical pixel grid.