Package org.jvnet.substance.painter.border

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


      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);
          gp.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);

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

        .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

              height + deltaTop + deltaBottom, width + deltaLeft
                  + deltaRight, contour, false, colorScheme,
              colorScheme2, cyclePos, true,
              colorScheme != colorScheme2);
          if (!noBorder) {
            borderPainter.paintBorder(finalGraphics, button, height
                + deltaTop + deltaBottom, width + deltaLeft
                + deltaRight, contour, null, borderScheme,
                borderScheme2, cyclePos,
                borderScheme != borderScheme2);
          }
View Full Code Here

              + deltaLeft + deltaRight, height + deltaTop
              + deltaBottom, contour, false, colorScheme,
              colorScheme2, cyclePos, true,
              colorScheme != colorScheme2);
          if (!noBorder) {
            borderPainter.paintBorder(finalGraphics, button, width
                + deltaLeft + deltaRight, height + deltaTop
                + deltaBottom, contour, null, borderScheme,
                borderScheme2, cyclePos,
                borderScheme != borderScheme2);
          }
View Full Code Here

            + deltaLeft + deltaRight, height + deltaTop
            + deltaBottom, contour, false, colorScheme,
            colorScheme2, cyclePos, true,
            colorScheme != colorScheme2);
        if (!noBorder) {
          borderPainter.paintBorder(finalGraphics, button, width
              + deltaLeft + deltaRight, height + deltaTop
              + deltaBottom, contour, null, borderScheme,
              borderScheme2, cyclePos,
              borderScheme != borderScheme2);
        }
View Full Code Here

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

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

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.