setEndCapStyle method

void setEndCapStyle(
  1. int endCapStyle
)

Specifies the end cap style of the generated buffer. The styles supported are {@link #CAP_ROUND}, {@link #CAP_FLAT}, and {@link #CAP_SQUARE}. The default is CAP_ROUND.

@param endCapStyle the end cap style to specify

Implementation

void setEndCapStyle(int endCapStyle) {
  this.endCapStyle = endCapStyle;
}