code: protected Shape createOuterFocus(final SegmentType segmentType, final int x, final int y, final int w, final int h) {
          switch (segmentType) {
  
          case FIRST:
              return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS, CornerStyle.ROUNDED,
                                                         CornerStyle.ROUNDED, CornerStyle.SQUARE, CornerStyle.SQUARE);
  
          case MIDDLE:
              return shapeGenerator.createRectangle(x - 2, y - 2, w + 3, h + 3);
  
          case LAST:
              return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS, CornerStyle.SQUARE,
                                                         CornerStyle.SQUARE, CornerStyle.ROUNDED, CornerStyle.ROUNDED);
  
          default:
              return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS);
          }
      }
docs: Create the shape for the outer focus ring. Designed to be drawn rather
  than filled.
  
  @param  segmentType the segment type.
  @param  x           the x offset.
  @param  y           the y offset.
  @param  w           the width.
  @param  h           the height.
  
  @return the shape of the outer focus ring. Designed to be drawn rather
  than filled.