Draws the specified rectangle using the specified pen for stroking and the specified brush for filling.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public static void DrawRect ( |
Visual Basic Copy Code |
---|
Public Shared Sub DrawRect( _ |
The DrawingContext object that represents the target of the drawing operation.
The Pen to use when drawing the outline.
The Brush to use when filling the contents.
The x-coordinate of the top-left corner of the drawn rectangle.
The y-coordinate of the top-left corner of the drawn rectangle.
The width of the drawn rectangle.
The height of the drawn rectangle.
This method supports the Diagramming for WPF infrastructure and is not intended to be used directly from your code.