Fills the interior of a rounded rectangle specified by Rect and Size structures.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void FillRectangle(
	Color color,
	Rect rc,
	Size corners
)
Visual Basic
Public Sub FillRectangle ( _
	color As Color, _
	rc As Rect, _
	corners As Size _
)

Parameters

color
Type: System.Windows.Media..::..Color
Color object that determines the color used to fill the rectangle.
rc
Type: System.Windows..::..Rect
A Rect structure that represents the rectangle to fill.
corners
Type: System.Windows..::..Size
A Size structure that contains the radius of the rectangle corners.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

See Also