'Declaration Public Function New( _
ByVal rectBounding box, in object space, of rectangle.As System.Windows.Rect, _
ByVal penThe pen that should be used for drawing the rectangle.As System.Windows.Media.Pen, _
ByVal brushThe brush that should be used for filling rectangle.As System.Windows.Media.Brush _
)
public WpfRectangularGraphicObject(
System.Windows.Rect rect,
System.Windows.Media.Pen pen,
System.Windows.Media.Brush brush
)
public: WpfRectangularGraphicObject(
System.Windows.Rect* rect,
System.Windows.Media.Pen* pen,
System.Windows.Media.Brush* brush
)
public:
WpfRectangularGraphicObject(
System.Windows.Rect^ rect,
System.Windows.Media.Pen^ pen,
System.Windows.Media.Brush^ brush
)
Parameters
- rect
- Bounding box, in object space, of rectangle.
- pen
- The pen that should be used for drawing the rectangle.
- brush
- The brush that should be used for filling rectangle.