ND Update: make array's say what they're made of, and a few other small bits, like mistyped and a couple missing <>s
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -137,7 +137,7 @@ OpenLayers.Geometry.Point = OpenLayers.Class(OpenLayers.Geometry, {
|
||||
* Parameters:
|
||||
* angle - {Float} Rotation angle in radians (measured counterclockwise
|
||||
* from the positive x-axis)
|
||||
* origin - {OpenLayers.Geometry.Point} Center point for the rotation
|
||||
* origin - {<OpenLayers.Geometry.Point>} Center point for the rotation
|
||||
*/
|
||||
rotate: function(angle, origin) {
|
||||
var radius = this.distanceTo(origin);
|
||||
@@ -156,7 +156,7 @@ OpenLayers.Geometry.Point = OpenLayers.Class(OpenLayers.Geometry, {
|
||||
* scale - {Float} Ratio of the new distance from the origin to the old
|
||||
* distance from the origin. A scale of 2 doubles the
|
||||
* distance between the point and origin.
|
||||
* origin - {OpenLayers.Geometry.Point} Point of origin for resizing
|
||||
* origin - {<OpenLayers.Geometry.Point>} Point of origin for resizing
|
||||
*/
|
||||
resize: function(scale, origin) {
|
||||
this.x = origin.x + (scale * (this.x - origin.x));
|
||||
|
||||
Reference in New Issue
Block a user