Improve documentation of regular versus irregular transformation

This commit is contained in:
Tom Hughes
2011-10-18 10:50:18 +01:00
parent 93f2a31253
commit 533ee475ee

View File

@@ -165,13 +165,16 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
* {<OpenLayers.Control.DragFeature>} * {<OpenLayers.Control.DragFeature>}
*/ */
dragControl: null, dragControl: null,
/** /**
* APIProperty: irregular * APIProperty: irregular
* {Boolean} * {Boolean} Make scaling/resizing work irregularly. If true then
* dragging a handle causes the feature to resize in the direction
* of movement. If false then the feature resizes symetrically
* about it's center.
*/ */
irregular: false, irregular: false,
/** /**
* Constructor: OpenLayers.Control.TransformFeature * Constructor: OpenLayers.Control.TransformFeature
* Create a new transform feature control. * Create a new transform feature control.