public interface Bounds
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Returns the Canvas (untransformed) height of the bounds.
|
double |
getWidth()
Returns the Canvas (untransformed) width of the bounds.
|
double |
getX()
Returns the Canvas (untransformed) x-coordinate of the bounds.
|
double |
getY()
Returns the Canvas (untransformed) y-coordinate of the bounds.
|
void |
setHeight(double height)
Sets the Canvas (untransformed) height of the bounds.
|
void |
setWidth(double width)
Sets the Canvas (untransformed) width of the bounds.
|
void |
setX(double x)
Sets the Canvas (untransformed) x-coordinate of the bounds.
|
void |
setY(double y)
Sets the Canvas (untransformed) y-coordinate of the bounds.
|
double getX()
void setX(double x)
x
- double getY()
void setY(double y)
y
- double getWidth()
void setWidth(double width)
width
- Must be positive.double getHeight()
void setHeight(double height)
height
- Must be positive.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.