javaquery/canvas/src/main/java/net/java/html/canvas/Color.java
author Anton Epple <toni.epple@eppleton.de>
Mon, 27 May 2013 10:00:12 +0200
branchcanvas
changeset 1148 6ef06b72bb06
permissions -rw-r--r--
Added Color as style
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 package net.java.html.canvas;
     6 
     7 /**
     8  *
     9  * @author antonepple
    10  */
    11 public class Color extends Style{
    12     
    13     String web;
    14 
    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     }
    22     
    23     public String getAsString(){
    24         return web;
    25     }
    26     
    27 }