FileDocCategorySizeDatePackage
Point.javaAPI DocphoneME MR2 API (J2ME)2139Wed May 02 18:00:34 BST 2007com.sun.perseus.j2d

Point

public class Point extends Object implements org.w3c.dom.svg.SVGPoint
This class represents an SVGPoint datatype, identified by its x and y components.
author
Kevin Wong
version
$Id: Point.java,v 1.2 2006/04/21 06:35:14 st125089 Exp $

Fields Summary
private float
x
The x-axis coordinate.
private float
y
The y-axis coordinate.
Constructors Summary
public Point(float x, float y)
Constructs an SVGPoint with given X and Y coordinates.

param
x the x-axis coordinate.
param
y the y-axis coordinate.

        this.x = x;
        this.y = y;
    
Methods Summary
public floatgetX()

        return x;
    
public floatgetY()

        return y;
    
public voidsetX(float value)

        x = value;
    
public voidsetY(float value)

        y = value;