@API(type=EXTENDABLE,
src=PRIVATE)
public interface Shape
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds() |
Shape |
translate(int tx,
int ty)
Translate the shape into another one.
|
Rectangle getBounds()
Shape translate(int tx, int ty)
tx
- the distance by which coordinates are translated in the
X axis directionty
- the distance by which coordinates are translated in the
Y axis direction© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.