TinyLine 2.5

com.tinyline.svg
Class SVGRect

java.lang.Object
  extended by com.tinyline.svg.SVGRect

public class SVGRect
extends java.lang.Object

The SVGRect class implements the basic type 'rectangle'.

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.

Version:
1.8

Field Summary
 int height
          The height of the SVGRect.
 int width
          The width of the SVGRect.
 int x
          The x coordinate of the SVGRect.
 int y
          The y coordinate of the SVGRect.
 
Constructor Summary
SVGRect()
          Constructs a new SVGRect.
SVGRect(SVGRect rect)
          Constructs a copy of the given SVGRect.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

public int height
The height of the SVGRect.


width

public int width
The width of the SVGRect.


x

public int x
The x coordinate of the SVGRect.


y

public int y
The y coordinate of the SVGRect.

Constructor Detail

SVGRect

public SVGRect()
Constructs a new SVGRect.


SVGRect

public SVGRect(SVGRect rect)
Constructs a copy of the given SVGRect.


TinyLine 2.5

Provided under the terms of the TinyLine License Agreement that has been included with this distribution.