Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void FillRectangle( Color color, double x, double y, double width, double height ) |
Visual Basic |
---|
Public Sub FillRectangle ( _ color As Color, _ x As Double, _ y As Double, _ width As Double, _ height As Double _ ) |
Parameters
- color
- Type: System.Windows.Media..::..Color
Color object that determines the color used to fill the rectangle.
- x
- Type: System..::..Double
x-coordinate of the upper-left corner of the rectangle to fill.
- y
- Type: System..::..Double
x-coordinate of the upper-left corner of the rectangle to fill.
- width
- Type: System..::..Double
Width of the rectangle to fill.
- height
- Type: System..::..Double
Height of the rectangle to fill.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.