Enum CadEditKind
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
What an edit does to an entity, as a CadEdit tells an owner. Numbers in the values of an edit are written in the invariant culture, as many digits as bring them back to the bit, and separated by commas.
public enum CadEditKind
Fields
Property = 0A property changed in Properties: Property is the row's label ("Layer", "Color", "Text override") and the old and new values are the texts the row shows, "0" and "Steel" for a layer.
Move = 1The entity moved, as MOVE moves it: the new value is the displacement "dx,dy", "10,-2.5" for 10 to the right and 2.5 down; the old value is null.
Rotate = 2The entity turned, as ROTATE turns it: the new value is the base point and the angle in radians, anticlockwise, "x,y,angle"; the old value is null.
Scale = 3The entity scaled, as SCALE scales it: the new value is the base point and the factor, "x,y,factor"; the old value is null.
Mirror = 4The entity mirrored, as MIRROR mirrors it: the new value is the two points of the mirror line, "x0,y0,x1,y1"; the old value is null.
Grip = 5A grip dragged: Property is the grip's index among the entity's grips ("0", "1", ...), the old value where it was, "x,y", and the new value where it went.
Erase = 6The entity erased; the property and both values are null.