MCPcopy Index your code
hub / github.com/processing/processing / setStrokeJoin

Method setStrokeJoin

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

Source from the content-addressed store, hash-verified

1230
1231
1232 void setStrokeJoin(String linejoin) {
1233 if (linejoin.equals("inherit")) {
1234 // do nothing, will inherit automatically
1235
1236 } else if (linejoin.equals("miter")) {
1237 strokeJoin = PConstants.MITER;
1238
1239 } else if (linejoin.equals("round")) {
1240 strokeJoin = PConstants.ROUND;
1241
1242 } else if (linejoin.equals("bevel")) {
1243 strokeJoin = PConstants.BEVEL;
1244 }
1245 }
1246
1247
1248 void setStrokeCap(String linecap) {

Callers 1

parseColorsMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected