TTMSFNCGraphicsPDF.DrawRectangle Method
Draws a rectangle in the PDF context using all four sides.
API unit family: TMSFNCGraphicsPDFEngine
Declaring type: TTMSFNCGraphicsPDF
Inherited from: TTMSFNCGraphicsPDFEngine
Overloads
Overload 1
Draws a rectangle in the PDF context using all four sides.
procedure DrawRectangle(ALeft, ATop, ARight, ABottom: Double; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; override;
Parameters
| Name | Description |
|---|---|
ALeft |
Left edge coordinate. |
ATop |
Top edge coordinate. |
ARight |
Right edge coordinate. |
ABottom |
Bottom edge coordinate. |
AModifyRectMode |
How the rectangle is adjusted for stroke width. |
Overload 2
Draws a rectangle with only the specified sides visible in the PDF context.
procedure DrawRectangle(ALeft, ATop, ARight, ABottom: Double; ASides: TTMSFNCGraphicsSides; AModifyRectMode: TTMSFNCGraphicsModifyRectMode = gcrmShrinkAll); overload; override;
Parameters
| Name | Description |
|---|---|
ALeft |
Left edge coordinate. |
ATop |
Top edge coordinate. |
ARight |
Right edge coordinate. |
ABottom |
Bottom edge coordinate. |
ASides |
Which sides of the rectangle to draw. |
AModifyRectMode |
How the rectangle is adjusted for stroke width. |