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:
BlackBerry API 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

setX

void setX(float value)

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

Parameters:
value - the minimum X value.
Since:
BlackBerry API 4.6.0

setY

void setY(float value)

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

Parameters:
value - the minimum Y value.
Since:
BlackBerry API 4.6.0

setWidth

void setWidth(float value)

Sets the width of this SVGRect to the specified value.

Parameters:
value - the rectangle width value.
Since:
BlackBerry API 4.6.0

setHeight

void setHeight(float value)

Sets the height of this SVGRect to the specified value.

Parameters:
value - the rectangle height value.
Since:
BlackBerry API 4.6.0

getX

float getX()

Returns the minimum X value for this SVGRect.

Returns:
the minimum X value.
Since:
BlackBerry API 4.6.0

getY

float getY()

Returns the minimum Y value for this SVGRect.

Returns:
the minimum Y value.
Since:
BlackBerry API 4.6.0

getWidth

float getWidth()

Returns the width for this SVGRect.

Returns:
the rectangle width.
Since:
BlackBerry API 4.6.0

getHeight

float getHeight()

Returns the height for this SVGRect.

Returns:
the rectangle height.
Since:
BlackBerry API 4.6.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal