strokeJoin method

void strokeJoin(
  1. int join
)

Implementation

void strokeJoin(int join) {
  if (join == PConstants.BEVEL) {
    strokePaint.strokeJoin = StrokeJoin.bevel;
  }
  if (join == PConstants.MITER) {
    strokePaint.strokeJoin = StrokeJoin.miter;
  }
  if (join == PConstants.ROUND) {
    strokePaint.strokeJoin = StrokeJoin.round;
  }
}