CreateJS: EaselJS - Free Transform Tool
Provides controls for transforming position, size, and rotation of CreateJS Display Objects.
Features
- Transformations are relative to the registration point (ob.regX, obj.regY), which you can choose.
- Un-obtrusive to your createjs project scene. The tool sits in it's own container layer.
Demo
See the tool in action at: https://jedateach.github.io/createjs-free-transform-tool
Usage
In order to use this tool you have to do the following:
-
add a new layer to your stage in top of everything as the follwing:
var top = ;topname = "top";stage; -
add the transform tool inside the top layer as the follwing:
var selectTool = ;selectToolname = "transform";top; -
to select any object for example when the user click on that object as the following:
object; -
to unselect object for example when the user click on the stage as the following:
stage;