Class: ol.PixelBounds

ol.PixelBounds

new PixelBounds

Parameters:
Name Type Description
minX number Minimum X.
minY number Minimum Y.
maxX number Maximum X.
maxY number Maximum Y.
Source:
  • pixelbounds.js, line 15

Extends

Members

maxX :number

Inherited From:
Source:
  • rectangle.js, line 34

maxY :number

Inherited From:
Source:
  • rectangle.js, line 39

minX :number

Inherited From:
Source:
  • rectangle.js, line 24

minY :number

Inherited From:
Source:
  • rectangle.js, line 29

Methods

equals

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 48
Returns:
Equals.
Type
boolean

extend

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 57

getCenter

Inherited From:
Source:
  • rectangle.js, line 68
Returns:
Center.
Type
ol.Coordinate

getHeight

Inherited From:
Source:
  • rectangle.js, line 77
Returns:
Height.
Type
number

getSize

Inherited From:
Source:
  • rectangle.js, line 85
Returns:
Size.
Type
ol.Size

getWidth

Inherited From:
Source:
  • rectangle.js, line 93
Returns:
Width.
Type
number

intersects

Parameters:
Name Type Description
rectangle ol.Rectangle Rectangle.
Inherited From:
Source:
  • rectangle.js, line 102
Returns:
Intersects.
Type
boolean

normalize

Parameters:
Name Type Description
coordinate ol.Coordinate Coordinate.
Inherited From:
Source:
  • rectangle.js, line 114
Returns:
Coordinate.
Type
ol.Coordinate

scaleFromCenter

Parameters:
Name Type Description
value number Value.
Inherited From:
Source:
  • rectangle.js, line 132

toString

Inherited From:
Source:
  • rectangle.js, line 124
Returns:
String.
Type
string