Examples of RGB


Examples of at.bestsolution.efxclipse.jface.RGB

    if (s != null && s.trim().length() > 0)
      info.setColorPreferenceKey(s);

    s= element.getAttribute("colorPreferenceValue")//$NON-NLS-1$
    if (s != null && s.trim().length() > 0) {
      RGB rgb= StringConverter.asRGB(s);
      info.setColorPreferenceValue(rgb == null ? RGB.iRGB(0,0,0) : rgb);
    }

    s= element.getAttribute("presentationLayer")//$NON-NLS-1$
    if (s != null && s.trim().length() > 0) {
View Full Code Here

Examples of ca.eandb.jmist.framework.color.RGB

   * @see ca.eandb.jmist.framework.Modifier#modify(ca.eandb.jmist.framework.ShadingContext)
   */
  @Override
  public void modify(ShadingContext context) {
    Basis3 basis = context.getBasis();
    RGB c = painter.getColor(context, WAVELENGTH_PACKET).toRGB();
    Vector3 n = Vector3.unit(c.r() - 0.5, c.g() - 0.5, c.b() - 0.5);
    Vector3 u = basis.u();
    Vector3 v = basis.v();

    basis = Basis3.fromWUV(n, u, v);
    context.setShadingBasis(basis);
View Full Code Here

Examples of com.invient.vaadin.charts.Color.RGB

        // Line instance configuration
        LineConfig lineSeriesCfg = new LineConfig();
        lineSeriesCfg.setPointStart((double) detailChartPointStartDate
                .getTime());
        lineSeriesCfg.setPointInterval(24 * 3600 * 1000.0);
        lineSeriesCfg.setColor(new RGB(69, 114, 167));
        DateTimeSeries detailSeries = new DateTimeSeries("USD to EUR",
                SeriesType.LINE, lineSeriesCfg);

        LinkedHashSet<DateTimePoint> detailPoints = new LinkedHashSet<InvientCharts.DateTimePoint>();
        DateTimeSeries masterChartSeries = (DateTimeSeries) masterChart
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.RGB

  @Override
  public void highlight(Sprite sprite) {
    Color fill = sprite.getFill();
    if (fill instanceof RGB) {
      RGB rgb = (RGB) fill;
      sprite.setFill(rgb.getLighter(0.2));
      sprite.redraw();
    }
  }
View Full Code Here

Examples of jxl.format.RGB

    int green = reportColour.getGreen();
    int blue = reportColour.getBlue();

    workbook.setColourRGB(colour, red, green, blue);

    RGB customRGB = new RGB(red, green, blue);
    usedColours.put(colour, customRGB);
  }
View Full Code Here

Examples of org.apache.flex.swf.types.RGB

     * @throws RuntimeExpection if the record is invalid.
     */
    private GradRecord readGradRecord(TagType tagType)
    {
        final int ratio = bitStream.readUI8();
        RGB color = null;
        if (TagType.DefineShape == tagType || TagType.DefineShape2 == tagType)
        {
            color = readRGB();
        }
        else if (TagType.DefineShape3 == tagType || TagType.DefineShape4 == tagType)
View Full Code Here

Examples of org.eclipse.swt.graphics.RGB

          sat = 80;
        }
       
        hslColor.initRGBbyHSL(0, sat, lum);
       
        colorErrorBG = new AllocateColor("errorBG", new RGB(hslColor.getRed(),
            hslColor.getGreen(), hslColor.getBlue()), colorErrorBG).getColor();
      }
    }, false);
  }
View Full Code Here

Examples of org.eclipse.swt.graphics.RGB

  private void allocateColorError() {
    if (display == null || display.isDisposed())
      return;

    colorError = new AllocateColor("error", new RGB(255, 68, 68), colorError)
        .getColor();
  }
View Full Code Here

Examples of org.eclipse.swt.graphics.RGB

            colorTables.getBlue());
        int lum = hslBG.getLuminence();

        HSLColor hslColor = new HSLColor();
        hslColor.initRGBbyHSL(25, 200, 128 + (lum < 160 ? 10 : -10));
        colorWarning = new AllocateColor("warning", new RGB(hslColor.getRed(),
            hslColor.getGreen(), hslColor.getBlue()), colorWarning).getColor();
      }
    }, false);
  }
View Full Code Here

Examples of org.eclipse.swt.graphics.RGB

        //  altHue += 11;
        //} else {
        //  altHue -= 11;
        //}
        //hslColor.setHue(blueHue);
        colorAltRow = new AllocateColor("altRow", new RGB(hslColor.getRed(),
            hslColor.getGreen(), hslColor.getBlue()), colorAltRow).getColor();
      }
    }, false);
  }
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.