public interface Parallelogram extends Shape
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Parallelogram parallelogram) |
boolean |
contains(Positionable positionable) |
float |
getHeight() |
float |
getRotation() |
float |
getWidth() |
boolean |
intersects(float x,
float y,
float width,
float height) |
boolean |
intersects(LineSegment lineSegment) |
boolean |
intersects(Parallelogram parallelogram) |
void |
rotate(float degrees) |
void |
rotateAround(Point center,
float degrees) |
draw, getNumberOfSides
addPostionChangeListener, getDistanceTo, getX, getY, removePositionChangeListener
float getWidth()
float getHeight()
float getRotation()
void rotate(float degrees)
void rotateAround(Point center, float degrees)
boolean intersects(LineSegment lineSegment)
boolean intersects(Parallelogram parallelogram)
boolean intersects(float x, float y, float width, float height)
boolean contains(Parallelogram parallelogram)
boolean contains(Positionable positionable)
Copyright © 2014. All rights reserved.