Examples of color()


Examples of org.geotools.styling.builder.ColorMapEntryBuilder.color()

   
    List<ColorMapEntry> entries = new ArrayList<ColorMapEntry>();
    for (int i = 0; i < colors.size(); i ++){
      ColorEntry c1 = colors.get(i);
      ColorMapEntryBuilder cme = new ColorMapEntryBuilder();
      ColorMapEntry e = cme.color(c1.getColor()).opacity(c1.getOpacity()).quantity(formatter.formatNumber(c1.getValue())).build();
      if (c1.getLabel() != null && !c1.getLabel().trim().isEmpty()){
        e.setLabel(c1.getLabel());
      }
      entries.add(e);
    }
View Full Code Here

Examples of org.geotools.styling.builder.ColorMapEntryBuilder.color()

    colorMap.setType(ColorMapImpl.TYPE_RAMP);
   
    for (int i = 0; i < colors.size(); i ++){
      ColorEntry c1 = colors.get(i);     
      ColorMapEntryBuilder cme = new ColorMapEntryBuilder();
      ColorMapEntry e = cme.color(c1.getColor()).opacity(c1.getOpacity()).quantity(formatter.formatNumber(c1.getValue())).build();
      if (c1.getLabel() != null && !c1.getLabel().trim().isEmpty()){
        e.setLabel(c1.getLabel());
      }
      colorMap.addColorMapEntry(e);
     
View Full Code Here

Examples of org.openqa.jetty.html.Font.color()

    {
        Composite comp=new Composite();
        comp.add(new Target(id));
        Font font = new Font();
        comp.add(font);
        font.color(lc.isStarted()?"green":"red");
        font.add(name);

        String action=lc.isStarted()?"Stop":"Start";
       
        comp.add("&nbsp;[");
View Full Code Here

Examples of org.openscience.cdk.renderer.elements.path.PathBuilder.color()

        Point2d p2 = model.getMerge().get( atom ).getPoint2d();

            // the element size has to be scaled to model space
            // so that it can be scaled back to screen space...
        PathBuilder pb = new PathBuilder();
        pb.color( jcpModel.getHoverOverColor() );

        Vector2d vec = new Vector2d();
        vec.sub( p2, p1 );

        Vector2d per = GeometryTools.calculatePerpendicularUnitVector( p1, p2 );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.