Package org.pushingpixels.substance.api.painter.border

Examples of org.pushingpixels.substance.api.painter.border.SubstanceBorderPainter.paintBorder()


        .getBorderStrokeWidth(componentFontSize);
    GeneralPath contourInner = (c instanceof JTextComponent) ? null
        : SubstanceOutlineUtilities.getBaseOutline(width, height,
            radius - borderThickness, null, borderThickness
                + borderDelta);
    borderPainter.paintBorder(graphics, c, width, height, contour,
        contourInner, borderScheme1, borderScheme2, cyclePos,
        borderScheme1 != borderScheme2);
    graphics.translate(-x, -y);
  }
View Full Code Here


    dotGraphics.setComposite(AlphaComposite.getInstance(
        AlphaComposite.SRC_OVER, 0.4f));
    SubstanceBorderPainter borderPainter = SubstanceCoreUtilities
        .getBorderPainter(divider);
    borderPainter.paintBorder(dotGraphics, divider, width, height,
        new Ellipse2D.Float(0, 0, bumpDotDiameter - 1,
            bumpDotDiameter - 1), null, colorScheme1, colorScheme2,
        interpolationCyclePos, colorScheme1 != colorScheme2);

    graphics.setComposite(TransitionLayout.getAlphaComposite(divider, 0.8f,
View Full Code Here

        .getBaseOutline(width, height + dy, cornerRadius
            - borderThickness, straightSides, borderThickness
            + borderInsets)
        : null;

    borderPainter.paintBorder(resGraphics, tabPane, width, height + dy,
        contour, contourInner, borderScheme, borderScheme2, cyclePos,
        borderScheme != borderScheme2);

    resGraphics.dispose();
    return result;
View Full Code Here

        // finalGraphics.drawImage(background, 0, 0, null);
        SubstanceBorderPainter borderPainter = SubstanceCoreUtilities
            .getBorderPainter(tabPane);
        finalGraphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
            RenderingHints.VALUE_ANTIALIAS_ON);
        borderPainter.paintBorder(finalGraphics, tabPane, width,
            height, contour, null, markScheme, markScheme2,
            cyclePos, markScheme != markScheme2);
      }

      finalGraphics.setStroke(new BasicStroke(SubstanceSizeUtils
View Full Code Here

      GeneralPath contourInner = SubstanceOutlineUtilities
          .getBaseOutline(width + 1, height + 1, radius
              - borderThickness, null, borderThickness
              + borderDelta);
      borderPainter.paintBorder(cacheGraphics, slider, width + 1,
          height + 1, contour, contourInner, borderScheme,
          borderScheme, 0, false);

      trackCache.put(key, trackImage);
      cacheGraphics.dispose();
View Full Code Here

              fillWidth, fillHeight, radius, null, borderDelta);
          g2d.translate(fillMinX, 0);
          fillPainter.paintContourBackground(g2d, this.slider,
              fillWidth, fillHeight, contour, false, fillScheme,
              fillScheme, 0.0f, false, false);
          borderPainter.paintBorder(g2d, this.slider, fillWidth,
              fillHeight, contour, null, borderScheme,
              borderScheme, 0.0f, false);
        }
      } else {
        int middleOfThumb = this.thumbRect.y
View Full Code Here

              fillWidth, fillHeight, radius, null, borderDelta);

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

      SimplisticFillPainter.INSTANCE.paintContourBackground(result
          .createGraphics(), scrollBar, width, height, contour,
          false, mainScheme, mainScheme, 0, true, false);

      SubstanceBorderPainter borderPainter = new SimplisticSoftBorderPainter();
      borderPainter.paintBorder(result.getGraphics(), scrollBar, width,
          height, contour, null, mainBorderScheme, mainBorderScheme,
          0, false);

      SubstanceScrollBarUI.trackHorizontalMap.put(key, result);
    }
View Full Code Here

      SimplisticFillPainter.INSTANCE.paintContourBackground(result
          .createGraphics(), scrollBar, height, width, contour,
          false, mainScheme, mainScheme, 0, true, false);

      SubstanceBorderPainter borderPainter = new SimplisticSoftBorderPainter();
      borderPainter.paintBorder(result.getGraphics(), scrollBar, height,
          width, contour, null, mainBorderScheme, mainBorderScheme,
          0, false);
      result = SubstanceImageCreator.getRotated(result, 3);

      SubstanceScrollBarUI.trackVerticalMap.put(key, result);
View Full Code Here

      // .getBorderStrokeWidth(SubstanceSizeUtils
      // .getComponentFontSize(scrollBar));
      // GeneralPath contourInner = SubstanceOutlineUtilities
      // .getBaseOutline(height, width, radius, null,
      // borderThickness + borderDelta);
      borderPainter.paintBorder(result.getGraphics(), scrollBar, height,
          width, contour, null, borderScheme, borderScheme2,
          borderCyclePos, borderScheme != borderScheme2);
      result = SubstanceImageCreator.getRotated(result, 3);
      // System.out.println(key);
      SubstanceScrollBarUI.thumbVerticalMap.put(key, result);
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.