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.


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

setX

void setX(float value)
Sets the minimum X value of this SVGRect to the specified value.

Parameters:
value - the minimum X value.

setY

void setY(float value)
Sets the minimum Y value of this SVGRect to the specified value.

Parameters:
value - the minimum Y value.

setWidth

void setWidth(float value)
Sets the width of this SVGRect to the specified value.

Parameters:
value - the rectangle width value.

setHeight

void setHeight(float value)
Sets the height of this SVGRect to the specified value.

Parameters:
value - the rectangle height value.

getX

float getX()
Returns the minimum X value for this SVGRect.

Returns:
the minimum X value.

getY

float getY()
Returns the minimum Y value for this SVGRect.

Returns:
the minimum Y value.

getWidth

float getWidth()
Returns the width for this SVGRect.

Returns:
the rectangle width.

getHeight

float getHeight()
Returns the height for this SVGRect.

Returns:
the rectangle height.


Copyright © 2003-2006 Nokia Corporation. See the Copyright Notice for details.