javauis/m2g_qt/javasrc/org/w3c/dom/svg/SVGRGBColor.java
changeset 80 d6dafc5d983f
parent 56 abc41079b313
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/m2g_qt/javasrc/org/w3c/dom/svg/SVGRGBColor.java	Fri Oct 15 12:29:39 2010 +0300
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+package org.w3c.dom.svg;
+
+
+/**
+ * This interface represents an "SVGRGBColor" datatype made up of red, green, and blue components.
+ * It can be used to read properties that store color values ({@link org.w3c.dom.svg.SVGElement#getRGBColorTrait getRGBColorTrait})
+ * such as <code>fill</code>, <code>stroke</code>, and <code>color</code>.
+ */
+public interface SVGRGBColor
+{
+
+    /**
+     * Returns the red component of the SVGRGBColor.
+     *
+     * @return the red component.
+     *
+     */
+    public int getRed();
+
+    /**
+     * Returns the green component of the SVGRGBColor.
+     *
+     * @return the green component.
+     *
+     */
+    public int getGreen();
+
+    /**
+     * Returns the blue component of the SVGRGBColor.
+     *
+     * @return the blue component.
+     *
+     */
+    public int getBlue();
+
+}