javauis/m2g_qt/javasrc/org/w3c/dom/svg/SVGRGBColor.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 "SVGRGBColor" datatype made up of red, green, and blue components.
       
    22  * It can be used to read properties that store color values ({@link org.w3c.dom.svg.SVGElement#getRGBColorTrait getRGBColorTrait})
       
    23  * such as <code>fill</code>, <code>stroke</code>, and <code>color</code>.
       
    24  */
       
    25 public interface SVGRGBColor
       
    26 {
       
    27 
       
    28     /**
       
    29      * Returns the red component of the SVGRGBColor.
       
    30      *
       
    31      * @return the red component.
       
    32      *
       
    33      */
       
    34     public int getRed();
       
    35 
       
    36     /**
       
    37      * Returns the green component of the SVGRGBColor.
       
    38      *
       
    39      * @return the green component.
       
    40      *
       
    41      */
       
    42     public int getGreen();
       
    43 
       
    44     /**
       
    45      * Returns the blue component of the SVGRGBColor.
       
    46      *
       
    47      * @return the blue component.
       
    48      *
       
    49      */
       
    50     public int getBlue();
       
    51 
       
    52 }