Drawing3d documented Class Library

DrawCtrl.CtrlRect(xy, xy) Method

Draws a rectangle given by two points A and B. Additionally it draws 9 marker at the edgepoints, the midpoints of the lines and the center of the rectangle. For each marker a DrawCtrl.CtrlPointKind is set as Tag. So you can identify the marker with CurrentHit.Tag

[Visual Basic]
Public Overloads Sub CtrlRect( _
   ByVal A As xy, _
   ByVal B As xy _
public void CtrlRect(
   xy A,
   xy B


First point
Second point

See Also

DrawCtrl Class | Drawing3d Namespace | DrawCtrl.CtrlRect Overload List