Package | Description |
---|---|
org.mini2Dx.core.engine | |
org.mini2Dx.core.geom |
Modifier and Type | Method and Description |
---|---|
void |
Parallelogram.rotateAround(Point center,
float degrees)
Rotates the shape around a center point by the specified degrees adding
to its existing rotation
|
void |
Parallelogram.setRotationAround(Point center,
float degrees)
Sets the current rotation of the shape around a center point
|
Modifier and Type | Field and Description |
---|---|
protected Point |
LineSegment.pointA |
protected Point |
LineSegment.pointB |
Modifier and Type | Method and Description |
---|---|
Point |
LineSegment.getIntersection(LineSegment lineSegment)
Returns the point at which this
LineSegment intersects with
another |
Point |
LineSegment.getPointA() |
Point |
LineSegment.getPointB() |
Modifier and Type | Method and Description |
---|---|
boolean |
Point.equals(Point p) |
boolean |
Point.isOnLineBetween(Point a,
Point b)
Returns if this
Point is between a and b on a line |
void |
Rectangle.rotateAround(Point center,
float degrees) |
void |
Point.rotateAround(Point center,
float degrees)
|
void |
LineSegment.setPointA(Point pointA) |
void |
LineSegment.setPointB(Point pointB) |
void |
Rectangle.setRotationAround(Point center,
float degrees) |
Constructor and Description |
---|
LineSegment(Point pA,
Point pB)
Constructs a line segment between point A and point B
|
Point(Point point) |
Copyright © 2014. All rights reserved.