public class Box
extends java.lang.Object
| Constructor and Description |
|---|
Box(long offsetX,
long offsetY,
long extentX,
long extentY) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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(java.lang.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 java.lang.String debug()
public Point getOffset()
public Point getExtent()
public static void main(java.lang.String[] args)
Copyright © 2007–2023. All rights reserved.