Examples of background()


Examples of iryrwarosh.Tile.background()

      if (item == null) {
        terminal.write(
            t.glyph(),
            x, y+1,
            t.color(),
            t.background());
      } else {
        terminal.write(
            item.glyph(),
            x, y+1,
            item.color(),
View Full Code Here

Examples of iryrwarosh.Tile.background()

      } else {
        terminal.write(
            item.glyph(),
            x, y+1,
            item.color(),
            t.background());
      }
    }
   
    for (Creature c : world.creatures()){
      int x = c.position.x - getScrollX();
View Full Code Here

Examples of org.apache.metamodel.data.StyleBuilder.background()

        if (cellStyle.getFillPattern() == 1) {
            Color color = cellStyle.getFillForegroundColorColor();
            if (color instanceof HSSFColor) {
                short[] triplet = ((HSSFColor) color).getTriplet();
                if (triplet != null) {
                    styleBuilder.background(triplet);
                }
            } else if (color instanceof XSSFColor) {
                String argb = ((XSSFColor) color).getARGBHex();
                if (argb != null) {
                    styleBuilder.background(argb.substring(2));
View Full Code Here

Examples of org.apache.metamodel.data.StyleBuilder.background()

                    styleBuilder.background(triplet);
                }
            } else if (color instanceof XSSFColor) {
                String argb = ((XSSFColor) color).getARGBHex();
                if (argb != null) {
                    styleBuilder.background(argb.substring(2));
                }
            } else {
                throw new IllegalStateException("Unexpected color type: " + (color == null ? "null" : color.getClass()) + ")");
            }
        }
View Full Code Here

Examples of org.mongodb.morphia.annotations.Indexed.background()

                ensureIndex(dbColl,
                            index.name(),
                            new BasicDBObject(field.toString(), index.value().toIndexValue()),
                            index.unique(),
                            index.dropDups(),
                            index.background() ? index.background() : background,
                            index.sparse(),
                            index.expireAfterSeconds());
            }

            if (!mf.isTypeMongoCompatible() && !mf.hasAnnotation(Reference.class) && !mf.hasAnnotation(Serialized.class)
View Full Code Here

Examples of org.mongodb.morphia.annotations.Indexed.background()

                ensureIndex(dbColl,
                            index.name(),
                            new BasicDBObject(field.toString(), index.value().toIndexValue()),
                            index.unique(),
                            index.dropDups(),
                            index.background() ? index.background() : background,
                            index.sparse(),
                            index.expireAfterSeconds());
            }

            if (!mf.isTypeMongoCompatible() && !mf.hasAnnotation(Reference.class) && !mf.hasAnnotation(Serialized.class)
View Full Code Here

Examples of org.tomighty.ui.theme.Colors.background()

    Dimension size = tray.iconSize();
    Colors colors = look.colors();
    Canvas canvas = new Canvas(size);
    canvas.fontSize((float) size.height * 0.58f);
    canvas.paintGradient(colors.background());
    canvas.drawBorder(colors.background().darker().darker().darker());
    canvas.drawCentralizedText(time.shortestString());

    cache.store(canvas.image(), iconName);

View Full Code Here

Examples of org.tomighty.ui.theme.Colors.background()

    Dimension size = tray.iconSize();
    Colors colors = look.colors();
    Canvas canvas = new Canvas(size);
    canvas.fontSize((float) size.height * 0.58f);
    canvas.paintGradient(colors.background());
    canvas.drawBorder(colors.background().darker().darker().darker());
    canvas.drawCentralizedText(time.shortestString());

    cache.store(canvas.image(), iconName);

    return canvas.image();
View Full Code Here

Examples of org.tomighty.ui.theme.Colors.background()

public class Gradient extends CachedTheme {
 
  @Override
  public void paint(Canvas canvas, Look look) {
    Colors colors = look.colors();
    Color background = colors.background();
    canvas.paintGradient(background);
  }

}
View Full Code Here

Examples of org.tomighty.ui.theme.Colors.background()

  @Override
  public void paint(Canvas canvas, Look look) {
    Colors colors = look.colors();
    BrushedMetalFilter filter = new BrushedMetalFilter();
    filter.setColor(colors.background().getRGB());
    filter.setRadius(10);
    filter.setAmount(0.15f);
    filter.setMonochrome(true);
    filter.setShine(0.2f);
    canvas.applyFilter(filter);
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.