public interface SVGRect
The SVGRect
represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
An SVGRect
object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
The height coordinate of the rectangle, in user units.
|
float |
getWidth()
The width coordinate of the rectangle, in user units.
|
float |
getX() |
float |
getY() |
void |
setHeight(float arg) |
void |
setWidth(float arg) |
void |
setX(float arg) |
void |
setY(float arg) |
float getHeight()
void setHeight(float arg)
float getWidth()
void setWidth(float arg)
float getX()
void setX(float arg)
float getY()
void setY(float arg)
Copyright © 2016. All rights reserved.