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

Method scale

core/src/processing/core/PApplet.java:13678–13681  ·  view source on GitHub ↗

( begin auto-generated from scale.xml ) Increases or decreases the size of a shape by expanding and contracting vertices. Objects always scale from their relative origin to the coordinate system. Scale values are specified as decimal percentages. For example, the function call scale(2.0) inc

(float s)

Source from the content-addressed store, hash-verified

13676 * @see PGraphics#rotateZ(float)
13677 */
13678 public void scale(float s) {
13679 if (recorder != null) recorder.scale(s);
13680 g.scale(s);
13681 }
13682
13683
13684 /**

Callers

nothing calls this directly

Calls 1

scaleMethod · 0.65

Tested by

no test coverage detected