strokeJoin

概要

p5.jsリファレンス(参考情報)

[p5.js] strokeJoin

サンプル

def setup
  background(220)
  noFill
  strokeWeight(10.0)
  strokeJoin(MITER)
  beginShape
  vertex(35, 20)
  vertex(65, 50)
  vertex(35, 80)
  endShape
end
def setup
  background(220)
  noFill
  strokeWeight(10.0)
  strokeJoin(BEVEL)
  beginShape()
  vertex(35, 20)
  vertex(65, 50)
  vertex(35, 80)
  endShape
end
def setup
  background(220)
  noFill
  strokeWeight(10.0)
  strokeJoin(ROUND)
  beginShape
  vertex(35, 20)
  vertex(65, 50)
  vertex(35, 80)
  endShape
end

構文

戻値