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:
euzuro
2007-07-31 20:02:03 +00:00
parent 35834487a4
commit cf5a53959e
19 changed files with 40 additions and 40 deletions

View File

@@ -250,7 +250,7 @@ OpenLayers.Geometry.Collection = 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) {
for(var i=0; i<this.components.length; ++i) {
@@ -268,7 +268,7 @@ OpenLayers.Geometry.Collection = OpenLayers.Class(OpenLayers.Geometry, {
* doubles the size of the geometry in each dimension
* (lines, for example, will be twice as long, and polygons
* will have four times the area).
* origin - {OpenLayers.Geometry.Point} Point of origin for resizing
* origin - {<OpenLayers.Geometry.Point>} Point of origin for resizing
*/
resize: function(scale, origin) {
for(var i=0; i<this.components.length; ++i) {

View File

@@ -29,7 +29,7 @@ OpenLayers.Geometry.MultiLineString = OpenLayers.Class(
* Constructor for a MultiLineString Geometry.
*
* Parameters:
* components - {Array(OpenLayers.Geometry.LineString)}
* components - {Array(<OpenLayers.Geometry.LineString>)}
*
*/
initialize: function(components) {

View File

@@ -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));