javauis/m2g_qt/javasrc/org/w3c/dom/svg/SVGRect.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 "SVGRect" datatype, consisting of a minimum X, minimum Y, width
       
    22  * and height values.
       
    23  */
       
    24 public interface SVGRect
       
    25 {
       
    26 
       
    27     /**
       
    28      * Sets the minimum X value of this SVGRect to the specified value.
       
    29      *
       
    30      * @param value the minimum X value.
       
    31      *
       
    32      */
       
    33     public void setX(float value);
       
    34 
       
    35     /**
       
    36      * Sets the minimum Y value of this SVGRect to the specified value.
       
    37      *
       
    38      * @param value the minimum Y value.
       
    39      *
       
    40      */
       
    41     public void setY(float value);
       
    42 
       
    43     /**
       
    44      * Sets the width of this SVGRect to the specified value.
       
    45      *
       
    46      * @param value the rectangle width value.
       
    47      *
       
    48      */
       
    49     public void setWidth(float value);
       
    50 
       
    51     /**
       
    52      * Sets the height of this SVGRect to the specified value.
       
    53      *
       
    54      * @param value the rectangle height value.
       
    55      *
       
    56      */
       
    57     public void setHeight(float value);
       
    58 
       
    59     /**
       
    60      * Returns the minimum X value for this SVGRect.
       
    61      *
       
    62      * @return the minimum X value.
       
    63      *
       
    64      */
       
    65     public float getX();
       
    66 
       
    67     /**
       
    68      * Returns the minimum Y value for this SVGRect.
       
    69      *
       
    70      * @return the minimum Y value.
       
    71      *
       
    72      */
       
    73     public float getY();
       
    74 
       
    75 
       
    76     /**
       
    77      * Returns the width for this SVGRect.
       
    78      *
       
    79      * @return the rectangle width.
       
    80      *
       
    81      */
       
    82     public float getWidth();
       
    83 
       
    84     /**
       
    85      * Returns the height for this SVGRect.
       
    86      *
       
    87      * @return the rectangle height.
       
    88      *
       
    89      */
       
    90     public float getHeight();
       
    91 
       
    92 }