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

Method zoomStroke

app/src/processing/app/ui/Toolkit.java:883–890  ·  view source on GitHub ↗
(Graphics2D g2)

Source from the content-addressed store, hash-verified

881 static BasicStroke zoomStroke;
882
883 static private void zoomStroke(Graphics2D g2) {
884 if (zoom != 1) {
885 if (zoomStroke == null || zoomStroke.getLineWidth() != zoom) {
886 zoomStroke = new BasicStroke(zoom);
887 }
888 g2.setStroke(zoomStroke);
889 }
890 }
891
892
893 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 1

prepareGraphicsMethod · 0.95

Calls 1

setStrokeMethod · 0.45

Tested by

no test coverage detected