Examples of paintContourBackground()


Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

      BufferedImage stateImage = SubstanceCoreUtilities.getBlankImage(
          sliderIcon.size - 1, sliderIcon.size - 1);
      Graphics2D g2d = stateImage.createGraphics();
      g2d.translate(delta, 0);

      fillPainter.paintContourBackground(g2d, slider, height,
          sliderIcon.size, contour, false, colorScheme, colorScheme2,
          cyclePos, true, colorScheme != colorScheme2);
      // BufferedImage biResult = SubstanceCoreUtilities.getBlankImage(
      // sliderIcon.size - 1, sliderIcon.size - 1);
      // Graphics2D bg2d = (Graphics2D) biResult.getGraphics();
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

    BufferedImage result = SubstanceCoreUtilities.getBlankImage(width,
        height);
    Graphics2D resGraphics = result.createGraphics();

    if (!paintOnlyBorder) {
      fillPainter.paintContourBackground(resGraphics, tabPane, width,
          height + dy, contour, false, fillScheme, true);
    }

    int borderThickness = (int) SubstanceSizeUtils
        .getBorderStrokeWidth(SubstanceSizeUtils
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

      Graphics2D finalGraphics = (Graphics2D) result.getGraphics();

      if (toPaintBorder) {
        GeneralPath contour = SubstanceOutlineUtilities.getBaseOutline(
            width, height, 1, null);
        fillPainter.paintContourBackground(finalGraphics, tabPane,
            width, height, contour, false, fillScheme, true);
        // finalGraphics.drawImage(background, 0, 0, null);
        SubstanceBorderPainter borderPainter = SubstanceCoreUtilities
            .getBorderPainter(tabPane);
        finalGraphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

              .getComponentFontSize(scrollBar)) / 2.0);
      GeneralPath contour = SubstanceOutlineUtilities.getBaseOutline(
          height, width, radius, null, borderDelta);

      result = SubstanceCoreUtilities.getBlankImage(height, width);
      painter.paintContourBackground(result.createGraphics(), scrollBar,
          height, width, contour, false, scheme, true);

      // int borderThickness = (int) SubstanceSizeUtils
      // .getBorderStrokeWidth(SubstanceSizeUtils
      // .getComponentFontSize(scrollBar));
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

    BufferedImage opaque = SubstanceScrollBarUI.thumbHorizontalMap.get(key);
    if (opaque == null) {
      // System.out.println("New image for horizontal thumb");

      opaque = SubstanceCoreUtilities.getBlankImage(width, height);
      painter.paintContourBackground(opaque.createGraphics(), scrollBar,
          width, height, contour, false, scheme, true);

      borderPainter.paintBorder(opaque.getGraphics(), scrollBar, width,
          height, contour, null, borderScheme);
      SubstanceScrollBarUI.thumbHorizontalMap.put(key, opaque);
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

      Graphics2D cacheGraphics = trackImage.createGraphics();

      Shape contour = SubstanceOutlineUtilities.getBaseOutline(width + 1,
          height + 1, radius, null, borderDelta);

      fillPainter.paintContourBackground(cacheGraphics, slider, width,
          height, contour, false, fillColorScheme, false);

      GeneralPath contourInner = SubstanceOutlineUtilities
          .getBaseOutline(width + 1, height + 1, radius
              - borderThickness, null, borderThickness
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

        int fillHeight = height + 1;
        if ((fillWidth > 0) && (fillHeight > 0)) {
          Shape contour = SubstanceOutlineUtilities.getBaseOutline(
              fillWidth, fillHeight, radius, null, borderDelta);
          g2d.translate(fillMinX, 0);
          fillPainter.paintContourBackground(g2d, this.slider,
              fillWidth, fillHeight, contour, false, fillScheme,
              false);
          borderPainter.paintBorder(g2d, this.slider, fillWidth,
              fillHeight, contour, null, borderScheme);
        }
View Full Code Here

Examples of org.pushingpixels.substance.api.painter.fill.SubstanceFillPainter.paintContourBackground()

        int fillHeight = height + 1;
        if ((fillWidth > 0) && (fillHeight > 0)) {
          Shape contour = SubstanceOutlineUtilities.getBaseOutline(
              fillWidth, fillHeight, radius, null, borderDelta);

          fillPainter.paintContourBackground(g2d, this.slider,
              fillWidth, fillHeight, contour, false, fillScheme,
              false);
          borderPainter.paintBorder(g2d, this.slider, fillWidth,
              fillHeight, contour, null, borderScheme);
        }
View Full Code Here

Examples of org.pushingpixels.substance.internal.painter.SimplisticFillPainter.paintContourBackground()

    boolean isDark = fillScheme.isDark();

    fillScheme = new ShiftColorScheme(fillScheme, fillScheme
        .getExtraLightColor(), 0.7);

    gradPainter.paintContourBackground(g2, tree, dim - 1, dim - 1, contour,
        false, fillScheme, fillScheme, 0, false, false);
    borderScheme = new ShiftColorScheme(borderScheme, isDark ? borderScheme
        .getUltraLightColor() : borderScheme.getLightColor(), 0.5);
    fbp.paintBorder(g2, tree, dim - 1, dim - 1, contour, null,
        borderScheme, borderScheme, 0, false);
View Full Code Here

Examples of org.pushingpixels.substance.internal.painter.SimplisticFillPainter.paintContourBackground()

    boolean isDark = fillScheme.isDark();

    fillScheme = new ShiftColorScheme(fillScheme,
        fillScheme.getExtraLightColor(), 0.7);

    gradPainter.paintContourBackground(g2, tree, dim - 1, dim - 1, contour,
        false, fillScheme, false);
    borderScheme = new ShiftColorScheme(borderScheme,
        isDark ? borderScheme.getUltraLightColor()
            : borderScheme.getLightColor(), 0.5);
    fbp.paintBorder(g2, tree, dim - 1, dim - 1, contour, null, borderScheme);
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.