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

Method opaque

core/src/processing/core/PImage.java:1198–1202  ·  view source on GitHub ↗

Set the high bits of all pixels to opaque.

()

Source from the content-addressed store, hash-verified

1196
1197 /** Set the high bits of all pixels to opaque. */
1198 protected void opaque() {
1199 for (int i = 0; i < pixels.length; i++) {
1200 pixels[i] = 0xFF000000 | pixels[i];
1201 }
1202 }
1203
1204
1205 /**

Callers 1

PImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected