Skip to main content
Table of Contents

TTMSFNCGraphicsSVGEngine.DrawRectangle Method

Emits an SVG <rect> element using all four sides.

API unit family: TMSFNCGraphicsSVGEngine Declaring type: TTMSFNCGraphicsSVGEngine

Overloads

Overload 1

Emits an SVG <rect> element using all four sides.

FMX.TMSFNCGraphicsSVGEngine.hppPascalC++
procedure DrawRectangle(ALeft, ATop, ARight, ABottom: Double; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; override;
virtual void __fastcall DrawRectangle(double ALeft, double ATop, double ARight, double ABottom, TTMSFNCGraphicsModifyRectMode AModifyRectMode = (TTMSFNCGraphicsModifyRectMode)(0x2))/* overload */;

Parameters

Name Description
ALeft Left edge.
ATop Top edge.
ARight Right edge.
ABottom Bottom edge.
AModifyRectMode How the rectangle is adjusted for stroke width.

Overload 2

Emits an SVG <rect> with only the specified sides visible.

FMX.TMSFNCGraphicsSVGEngine.hppPascalC++
procedure DrawRectangle(ALeft, ATop, ARight, ABottom: Double; ASides: TTMSFNCGraphicsSides; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; override;
virtual void __fastcall DrawRectangle(double ALeft, double ATop, double ARight, double ABottom, TTMSFNCGraphicsSides ASides, TTMSFNCGraphicsModifyRectMode AModifyRectMode = (TTMSFNCGraphicsModifyRectMode)(0x2))/* overload */;

Parameters

Name Description
ALeft Left edge.
ATop Top edge.
ARight Right edge.
ABottom Bottom edge.
ASides Which sides to draw.
AModifyRectMode How the rectangle is adjusted for stroke width.