code: public void setLineCap(int style) {
          if (style >= 0 && style <= 2) {
              content.append(style).append(" J").append_i(separator);
          }
      }
docs: Changes the <VAR>Line cap style</VAR>.
  <P>
  The <VAR>line cap style</VAR> specifies the shape to be used at the end of open subpaths
  when they are stroked.<BR>
  Allowed values are LINE_CAP_BUTT, LINE_CAP_ROUND and LINE_CAP_PROJECTING_SQUARE.<BR>
  
  @param       style       a value