IRenderingContextDrawRectangle Method

Draw a rectangle which may be filled, outlined or both.

 

Namespace:  WebSupergoo.WordGlue4.Rendering
Assembly:  WordGlue4 (in WordGlue4.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
void DrawRectangle(
        Brush brush,
        Pen pen,
        Rect rect
)

Parameters

brush
Type: WebSupergoo.WordGlue4.RenderingBrush
The brush with which the rectangle should be filled. If this parameter is null then there is no fill.
pen
Type: WebSupergoo.WordGlue4.RenderingPen
The pen with which the rectangle should be outlined. If this parameter is null then there is no outline.
rect
Type: WebSupergoo.WordGlue4Rect
The rectangle area.
See Also