Class THREE.Rectangle
Defined in: Rectangle.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
add3Points(x1, y1, x2, y2, x3, y3)
|
|
addPoint(x, y)
|
|
addRectangle(r)
|
|
empty()
|
|
getLeft()
|
|
getRight()
|
|
getTop()
|
|
getWidth()
|
|
getX()
|
|
getY()
|
|
inflate(v)
|
|
intersects(r)
|
|
isEmpty()
|
|
minSelf(r)
|
|
<inner> |
resize()
|
set(left, top, right, bottom)
|
Method Detail
add3Points(x1, y1, x2, y2, x3, y3)
- Parameters:
- x1
- y1
- x2
- y2
- x3
- y3
addPoint(x, y)
- Parameters:
- x
- y
addRectangle(r)
- Parameters:
- r
empty()
getBottom()
getHeight()
getLeft()
getRight()
getTop()
getWidth()
getX()
getY()
inflate(v)
- Parameters:
- v
intersects(r)
- Parameters:
- r
isEmpty()
minSelf(r)
- Parameters:
- r
<inner>
resize()
set(left, top, right, bottom)
- Parameters:
- left
- top
- right
- bottom