For a list of all members of this type, see IEvents Members.
| Type | Description |
|---|---|
| ActiveCtrl | The ActiveCtrl inherits from an entity. It holds properties and methods to implement interactive manipulations of graphical datas. It is bouded to a Device and is located as child of Work With the Mouse- and Keyevents you have an instrument to handle actions of an user. The methods ctrlMarker, ctrlLine,ctrlCurve and ctrlPoly are nice drawmethods. They change the Color ( HoverColor if the mouse lays over it. By a click you get information about the tag, which is setted as parameter to these methods. ...
protected override void draw(MNDevice device)
{
...
ctrlMarker(new xyz(4, 4, 0), 2006);
// draws a marker at position (4 / 4/ 0)
// if the mouse moves over this marker then it will be highlighted with
//hovercolor
ctrlMarker(new xyz(0, 4, 0), 2007);
ctrlMarker(new xyz(0, 0, 0), 2008);
...
}
protected override void MouseMove( System.Windows.Forms.MouseEventArgs e)
{
if (CurrentHit!=null)
switch ((int)CurrentHit.Tag)
{
case 2006 :// Mouse is at Marker 4/ 4/ 0
break;
case 2007 :// Mouse is at Marker 0/ 4/ 0
break;
case 2008 :// Mouse is at Marker 0/ 0/ 0
break;
}
}
...
|
| CurveEditor | |
| HelpGeometry2D | |
| MarkeredRectCtrl | |
| RectCtrl | |
| RectEditor | |
| SimpleCad | |
| TaskCtrl | |
| TextCtrl | The curveeditor handles alist of curves CurveArray. With the methods CreateBeziers, CreateLines, CreateQSplines you can create curves. |
| TextEditor | |
| TransformEditor |
Namespace: Minais.Drawing3d
Assembly: Drawing3d (in Drawing3d.dll)