Ejemplo n.º 1
0
 public AddTextCommand(mPlayground iPlayground, aShape iShape, string iText, TextPos pos)
 {
     playground = iPlayground;
     shape      = iShape;
     text       = iText;
     textPos    = pos;
 }
Ejemplo n.º 2
0
        public ShapeDrawTool(mPlayground iPlayground)
        {
            playground   = iPlayground;
            curShape     = eShape.Rect;
            currentShape = null;

            drawing = false;
        }
Ejemplo n.º 3
0
        public ShapeSelectTool(mPlayground iPlayground)
        {
            playground                = iPlayground;
            selectionRect             = new mRectangle(1, 1, Color.LightBlue);
            selectionRect.BorderColor = Color.MidnightBlue;
            selectionRect.BorderSize  = 2;
            selectionRect.DrawBorder  = true;
            selectionRect.Selected    = true;
            selectionRect.Load();

            typing = false;
        }
Ejemplo n.º 4
0
 public DeleteCommand(aShape iShape, mPlayground iPlayground)
 {
     playground   = iPlayground;
     deletedShape = iShape;
 }
Ejemplo n.º 5
0
 public DrawCommand(aShape iShape, mPlayground iPlayground)
 {
     currentShape = iShape;
     playground   = iPlayground;
 }
Ejemplo n.º 6
0
 public ShapeTransformTool(mPlayground iPlayground)
 {
     playground   = iPlayground;
     transforming = false;
 }
Ejemplo n.º 7
0
 public ShapeMoveTool(mPlayground iPlayground)
 {
     playground  = iPlayground;
     movingShape = null;
 }