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

extend

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

getCenter

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

getHeight

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

getSize

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

getWidth

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

intersects

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

normalize

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

toString

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