setEndCapStyle method

void setEndCapStyle(
  1. int endCapStyle
)

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

@param endCapStyle the end cap style to specify

Implementation

void setEndCapStyle(int endCapStyle) {
  bufParams.setEndCapStyle(endCapStyle);
}