MCPcopy Index your code
hub / github.com/benfry/processing4 / setStrokeJoin

Method setStrokeJoin

core/src/processing/core/PShapeSVG.java:1239–1252  ·  view source on GitHub ↗
(String linejoin)

Source from the content-addressed store, hash-verified

1237
1238
1239 void setStrokeJoin(String linejoin) {
1240 if (linejoin.equals("inherit")) {
1241 // do nothing, will inherit automatically
1242
1243 } else if (linejoin.equals("miter")) {
1244 strokeJoin = PConstants.MITER;
1245
1246 } else if (linejoin.equals("round")) {
1247 strokeJoin = PConstants.ROUND;
1248
1249 } else if (linejoin.equals("bevel")) {
1250 strokeJoin = PConstants.BEVEL;
1251 }
1252 }
1253
1254
1255 void setStrokeCap(String linecap) {

Callers 1

parseColorsMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected