public final class RotatedRectangle extends Polygon
Modifier and Type | Method and Description |
---|---|
Point[] |
asPoints()
Returns points as Point objects.
|
Point |
getRectSize()
returns the size of the rectangle.
|
int[] |
getSwtPoints()
Returns points as a single array, [x1,y1,x2,y2,...]
|
void |
shiftVertices(double dOffset)
Shifts both X,Y values by given offset.
|
void |
shiftXVertices(double dOffset)
Shifts all X-value by given offset.
|
void |
shiftYVertices(double dOffset)
Shifts all Y-value by given offset.
|
public final int[] getSwtPoints()
public final void shiftXVertices(double dOffset)
dOffset
- public final void shiftYVertices(double dOffset)
dOffset
- public final void shiftVertices(double dOffset)
dOffset
- public final Point[] asPoints()
public final Point getRectSize()
Copyright © 2005-2008 Actuate Corp. All rights reserved.