TinyLine
v2.0

com.tinyline.svg
Class SVGRect

java.lang.Object
  extended bycom.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

Author:
Andrew Girow

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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
The x coordinate of the SVGRect.


y

public int y
The y coordinate of the SVGRect.


width

public int width
The width of the SVGRect.


height

public int height
The height 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
v2.0

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