public class Box extends Object
Constructor and Description |
---|
Box(long offsetX,
long offsetY,
long extentX,
long extentY) |
Modifier and Type | Method and Description |
---|---|
String |
debug() |
void |
flipH()
Flip across Y axis
|
void |
flipV()
Flip across X axis, so Y co-ordinate changes
|
Point |
getExtent() |
Point |
getOffset() |
Point |
getOtherCorner() |
static void |
main(String[] args) |
void |
rotate(int units)
Clockwise rotation, about the bounding-box centre
|
void |
toPixels() |
public void flipH()
public void flipV()
public Point getOtherCorner()
public void toPixels()
public void rotate(int units)
units
- are 60 thousandths of a degreepublic String debug()
public Point getOffset()
public Point getExtent()
public static void main(String[] args)
Copyright © 2007-2019. All Rights Reserved.