Examples of Color


Examples of ae.java.awt.Color

            if (paintState <= PAINT_ALPHACOLOR) {
                validateColor();
            }
            if (composite instanceof XORComposite) {
                Color c = ((XORComposite) composite).getXorColor();
                setComposite(new XORComposite(c, surfaceData));
            }
            validatePipe();
        } finally {
            // REMIND: No locking yet in screen SurfaceData objects!
View Full Code Here

Examples of aspect.util.Color

    public Force cohesion;
    public Force alignment;
    public Force separation;
   
    public Boid() {
        Color color = Color.random(false);
       
        float[] vertices = {
            0, 0, 50, 0
        };
       
View Full Code Here

Examples of booton.css.value.Color

     *
     * @param transparency A transparency of shadow.
     * @return
     */
    public Text shadow(double transparency) {
        Color color = new Color(0, 0, css.font.color().lightness < 50 ? 100 : 0, transparency);
        shadow(1, px, 0, px, 0, px, color);
        shadow(0, px, 1, px, 0, px, color);

        return this;
    }
View Full Code Here

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

      ScatteredRay sr;

      if (grandChild != null) {
        double rpdf = grandChild.getReversePDF();
        double pdf = grandChild.getPDF();
        Color color = grandChild.getCumulativeWeight()
            .divide(child.getCumulativeWeight())
            .times(pdf / rpdf);
        sr = grandChild.isSpecular()
            ? ScatteredRay.specular(ray, color, rpdf)
            : ScatteredRay.diffuse(ray, color, rpdf);
      } else { // grandChild == null
        double pdf = newParent.getPDF(v);
        Color color = newParent.scatter(v).divide(pdf);
        sr = ScatteredRay.diffuse(ray, color, pdf);
      }

      return new SurfaceNode(newParent, sr, surf, getRU(), getRV(), getRJ());
    } else { // newParent == null
View Full Code Here

Examples of cc.plural.utils.Color

 
  public ApplicationConfiguration() {
    title = "cc.plural.ecs!";
    width = 400;
    height = 300;
    backGroundColor = new Color(25,25,25);
                resizable = false;
                fullScreen = false;
                forceGLVersion = null;
                fpsTarget = 60;
  }
View Full Code Here

Examples of ch.njol.skript.util.Color

  }
 
  @Override
  public void set(final Sheep entity) {
    if (colors != null) {
      final Color c = CollectionUtils.getRandom(colors);
      assert c != null;
      entity.setColor(c.getWoolColor());
    }
  }
View Full Code Here

Examples of charva.awt.Color

     * @param toolkit
     */
    public void paintBorder(Component component_,
                            int graphics_, int x_, int y_, int width_, int height_, Toolkit toolkit) {

  Color background = component_.getBackground();
  if (_lineColor == null)
      _lineColor = component_.getForeground();

  int curses_colorpair = Color.getCursesColor(_lineColor, background);

View Full Code Here

Examples of com.aqpproject.tools.Color

        this.y = posY;
        this.width = sprite.getRegion().getRegionWidth();
        this.height = sprite.getRegion().getRegionHeight();
        this.rotation = rotation;
        m_frame = frame;
        m_teint = new Color(1, 1, 1, 1);
        m_scale = 1.f;
        m_shadowSize = 0;
        m_useRealCenter = useRealCenter;
    }
View Full Code Here

Examples of com.aspose.cells.Color

cell.setStyle(style);

// === Setting Foreground ===

//Adding custom color to the palette at 55th index
Color color = Color.fromArgb(212,213,0);
workbook.changePalette(color,55);

//Accessing the "A2" cell from the worksheet
cell = cells.get("B3");
View Full Code Here

Examples of com.badlogic.gdx.graphics.Color

  @Override
  public void draw (SpriteBatch batch, float parentAlpha) {
    final BitmapFont font = style.font;
    final NinePatch selectedPatch = style.selectedPatch;
    final Color fontColorSelected = style.fontColorSelected;
    final Color fontColorUnselected = style.fontColorUnselected;

    batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);

    float posY = height;
    for (int i = 0; i < items.length; i++) {
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.