]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.common/src/org/simantics/common/color/Color.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.common / src / org / simantics / common / color / Color.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2011 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.common.color;
13
14 import java.io.Serializable;
15
16 /*
17  * A generic representation for a color value
18  * 
19  * The range for all values is [0...1.0]
20  * 
21  */
22
23 public interface Color extends Serializable {
24
25         public double getR();
26         public double getG();
27         public double getB();
28         public double getA();
29         public double getH();
30         public double getS();
31         public double getV();
32
33 }