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

Method strokeCap

core/src/processing/core/PGraphics.java:6489–6491  ·  view source on GitHub ↗

Sets the style for rendering line endings. These ends are either squared, extended, or rounded, each of which specified with the corresponding parameters: SQUARE, PROJECT, and ROUND. The default cap is ROUND. To make point() appear square, use strokeCap(PROJECT) . Using <b

(int cap)

Source from the content-addressed store, hash-verified

6487 * @see PApplet#size(int, int, String, String)
6488 */
6489 public void strokeCap(int cap) {
6490 strokeCap = cap;
6491 }
6492
6493
6494

Callers 5

rawLinesMethod · 0.95
rawPointsMethod · 0.95
defaultSettingsMethod · 0.95
reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected