PdfCanvas
DrawRectangle Method (PdfBrush, Single, Single, Single, Single)
|
Draws a rectangle.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawRectangle(
PdfBrush brush,
float x,
float y,
float width,
float height
)
Public Sub DrawRectangle (
brush As PdfBrush,
x As Single,
y As Single,
width As Single,
height As Single
)
public:
void DrawRectangle(
PdfBrush^ brush,
float x,
float y,
float width,
float height
)
member DrawRectangle :
brush : PdfBrush *
x : float32 *
y : float32 *
width : float32 *
height : float32 -> unit
Parameters
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
The brush.
-
x
-
Type:
System
Single
The x.
-
y
-
Type:
System
Single
The y.
-
width
-
Type:
System
Single
The width.
-
height
-
Type:
System
Single
The height.
See Also