Package org.jvnet.substance.painter.border

Examples of org.jvnet.substance.painter.border.SubstanceBorderPainter.paintBorder()


      // .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


      // .getBorderStrokeWidth(SubstanceSizeUtils
      // .getComponentFontSize(scrollBar));
      // GeneralPath contourInner = SubstanceOutlineUtilities
      // .getBaseOutline(width, height, radius, null,
      // borderThickness + borderDelta);
      borderPainter.paintBorder(opaque.getGraphics(), scrollBar, width,
          height, contour, null, borderScheme, borderScheme2,
          borderCyclePos, borderScheme != borderScheme2);
      SubstanceScrollBarUI.thumbHorizontalMap.put(key, opaque);
    }
View Full Code Here

              .getComponentFontSize(slider));
      GeneralPath contourInner = SubstanceOutlineUtilities
          .getTriangleButtonOutline(width, sliderIcon.size - 1, 2,
              borderThickness + borderDelta);

      borderPainter.paintBorder(g2d, slider, width, sliderIcon.size - 1,
          contour, contourInner, borderScheme, borderScheme2,
          cyclePos, borderScheme != borderScheme2);
      g2d.translate(-delta, 0);

      if (sliderIcon.isMirrorred)
View Full Code Here

      Shape contourInner = new Ellipse2D.Float(borderDelta
          + borderThickness, borderDelta + borderThickness, width - 2
          * borderDelta - 2 * borderThickness - 1, width - 2
          * borderDelta - 2 * borderThickness - 1);

      borderPainter.paintBorder(g2d, slider, width, sliderIcon.size - 1,
          contour, contourInner, borderScheme, borderScheme2,
          cyclePos, borderScheme != borderScheme2);
      // bg2d.translate(-delta, -delta);

      result = new ImageIcon(stateImage);
View Full Code Here

              .getComponentFontSize(slider));
      GeneralPath contourInner = SubstanceOutlineUtilities
          .getTriangleButtonOutline(height, sliderIcon.size, 2,
              borderThickness + borderDelta);

      borderPainter.paintBorder(g2d, slider, height, sliderIcon.size - 1,
          contour, contourInner, borderScheme, borderScheme2,
          cyclePos, borderScheme != borderScheme2);
      // bg2d.translate(-delta, 0);

      if (sliderIcon.isMirrorred)
View Full Code Here

        .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

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.