author | Anton Epple <toni.epple@eppleton.de> |
Mon, 27 May 2013 10:00:12 +0200 | |
branch | canvas |
changeset 1148 | 6ef06b72bb06 |
permissions | -rw-r--r-- |
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5 package net.java.html.canvas;
7 /**
8 *
9 * @author antonepple
10 */
11 public class Color extends Style{
13 String web;
15 /**
16 * Creates an RGB color specified with an HTML or CSS attribute string.
17 * @param webColor Colordefined as
18 */
19 Color(String webColor) {
20 this.web = web;
21 }
23 public String getAsString(){
24 return web;
25 }
27 }