javauis/m2g_qt/javasrc/org/w3c/dom/svg/SVGPoint.java
changeset 80 d6dafc5d983f
parent 56 abc41079b313
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 package org.w3c.dom.svg;
       
    18 
       
    19 
       
    20 /**
       
    21  * This interface represents an "SVGPoint" datatype, identifiend by its x and y components.
       
    22  */
       
    23 public interface SVGPoint
       
    24 {
       
    25 
       
    26     /**
       
    27      * Sets the x component of the point to the specified float value.
       
    28      *
       
    29      * @param value the x component value
       
    30      *
       
    31      */
       
    32 
       
    33     public void setX(float value);
       
    34 
       
    35     /**
       
    36      * Sets the y component of the point to the specified float value.
       
    37      *
       
    38      * @param value the y component value
       
    39      *
       
    40      */
       
    41 
       
    42     public void setY(float value);
       
    43 
       
    44 
       
    45     /**
       
    46      * Returns the x component of the point.
       
    47      *
       
    48      * @return the x component of the point.
       
    49      *
       
    50      */
       
    51 
       
    52     public float getX();
       
    53 
       
    54     /**
       
    55      * Returns the y component of the point.
       
    56      *
       
    57      * @return the y component of the point.
       
    58      *
       
    59      */
       
    60     public float getY();
       
    61 }