Package tiled.core

Examples of tiled.core.ObjectSelectionLayer


      selectionLayer.reinitMove();
    } if (currentMode == SELECT_MODE) {
      if (selectionLayer != null) {
        editor.getMap().removeLayerSpecial(selectionLayer);
      }
      selectionLayer = new ObjectSelectionLayer();
      editor.getMap().addLayerSpecial(selectionLayer);
      selectionLayer.setPixelBounds(new Rectangle(e.x,e.y,1,1));
    }
  }
View Full Code Here


              clipboardLayer.maskedCopyFrom(
                      getCurrentLayer(),
                      marqueeSelection.getSelectedArea());
              firePartPropertyChanged(CLIPBOARD_CONTENT_PROP,"","");
          } else if (getCurrentLayer() instanceof ObjectGroup) {
            ObjectSelectionLayer selLayer = getObjectSelectionLayer();
            if (selLayer != null)
              clipboardLayer = selLayer;
            firePartPropertyChanged(CLIPBOARD_CONTENT_PROP,"","");
          }
    }
View Full Code Here

TOP

Related Classes of tiled.core.ObjectSelectionLayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.