Table of Contents

TTMSFNCGraphicsContextUnix.DrawRect Method

Draws the outline of a rectangle using the specified stroke style.

API unit family: TMSFNCGraphics.Unix Declaring type: TTMSFNCGraphicsContextUnix

Syntax

procedure DrawRect(AStroke: TTMSFNCGraphicsStroke; ARect: TRectF; ASides: TTMSFNCGraphicsSides; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); override;

Parameters

Name Description
AStroke The stroke style to apply.
ARect The rectangle to outline.
ASides The set of sides to draw.
AModifyRectMode Controls pixel-boundary adjustments applied to the rectangle.