org.w3c.dom.svg
Interface SVGPoint


public interface SVGPoint

This interface represents an "SVGPoint" datatype, identifiend by its x and y components.


Method Summary
 float getX()
          Returns the x component of the point.
 float getY()
          Returns the y component of the point.
 void setX(float value)
          Sets the x component of the point to the specified float value.
 void setY(float value)
          Sets the y component of the point to the specified float value.
 

Method Detail

setX

void setX(float value)
Sets the x component of the point to the specified float value.

Parameters:
value - the x component value

setY

void setY(float value)
Sets the y component of the point to the specified float value.

Parameters:
value - the y component value

getX

float getX()
Returns the x component of the point.

Returns:
the x component of the point.

getY

float getY()
Returns the y component of the point.

Returns:
the y component of the point.


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