Constructor and Description |
---|
ImageLayoutInfo(int x,
int y,
int width,
int height)
Information about an image.
|
ImageLayoutInfo(int x,
int y,
int width,
int height,
int ascend)
Information about an image.
|
Modifier and Type | Method and Description |
---|---|
int |
getAscend()
Get the image ascend.
|
void |
setAscend(int ascend)
Set the ascend.
|
java.lang.String |
toString()
Returns a
String representing this
Rectangle and its values. |
public ImageLayoutInfo(int x, int y, int width, int height)
x
- The x coordinate.y
- The y coordinate.width
- The width.height
- The height.public ImageLayoutInfo(int x, int y, int width, int height, int ascend)
x
- The x coordinate.y
- The y coordinate.width
- The width.height
- The height.ascend
- The image ascend, -1 if unknown.public int getAscend()
public void setAscend(int ascend)
ascend
- The image ascend.public java.lang.String toString()
Rectangle
String
representing this
Rectangle
and its values.toString
in class Rectangle
String
representing this
Rectangle
object's coordinate and size values.Rectangle.toString()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.