org.w3c.dom.svg
Interface SVGRect


public interface SVGRect

This interface represents an "SVGRect" datatype, consisting of a minimum X, minimum Y, width and height values.

Since:
JDE 4.6.0

Method Summary
 float getHeight()
           Returns the height for this SVGRect.
 float getWidth()
           Returns the width for this SVGRect.
 float getX()
           Returns the minimum X value for this SVGRect.
 float getY()
           Returns the minimum Y value for this SVGRect.
 void setHeight(float value)
           Sets the height of this SVGRect to the specified value.
 void setWidth(float value)
           Sets the width of this SVGRect to the specified value.
 void setX(float value)
           Sets the minimum X value of this SVGRect to the specified value.
 void setY(float value)
           Sets the minimum Y value of this SVGRect to the specified value.
 

Method Detail

getHeight

public float getHeight()

Returns the height for this SVGRect.

Returns:
the rectangle height.
Since:
JDE 4.6.0

getWidth

public float getWidth()

Returns the width for this SVGRect.

Returns:
the rectangle width.
Since:
JDE 4.6.0

getX

public float getX()

Returns the minimum X value for this SVGRect.

Returns:
the minimum X value.
Since:
JDE 4.6.0

getY

public float getY()

Returns the minimum Y value for this SVGRect.

Returns:
the minimum Y value.
Since:
JDE 4.6.0

setHeight

public void setHeight(float value)

Sets the height of this SVGRect to the specified value.

Parameters:
value - the rectangle height value.
Since:
JDE 4.6.0

setWidth

public void setWidth(float value)

Sets the width of this SVGRect to the specified value.

Parameters:
value - the rectangle width value.
Since:
JDE 4.6.0

setX

public void setX(float value)

Sets the minimum X value of this SVGRect to the specified value.

Parameters:
value - the minimum X value.
Since:
JDE 4.6.0

setY

public void setY(float value)

Sets the minimum Y value of this SVGRect to the specified value.

Parameters:
value - the minimum Y value.
Since:
JDE 4.6.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.