コード例 #1
0
 @Override
 public int paint(
     @NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight) {
   if (!isSoftWrappingEnabled()) {
     return 0;
   }
   return myPainter.paint(g, drawingType, x, y, lineHeight);
 }
コード例 #2
0
 public int doPaint(
     @NotNull Graphics g, @NotNull SoftWrapDrawingType drawingType, int x, int y, int lineHeight) {
   return myPainter.paint(g, drawingType, x, y, lineHeight);
 }