MCPcopy Create free account
hub / github.com/melonjs/melonJS / g

Method g

packages/melonjs/src/math/color.ts:251–253  ·  view source on GitHub ↗

* Gets the green component of the color. * @returns The green component [0 .. 255].

()

Source from the content-addressed store, hash-verified

249 * @returns The green component [0 .. 255].
250 */
251 get g() {
252 return ~~(this.normalizedRGBA[1] * 255);
253 }
254
255 /**
256 * Sets the green component of the color.

Callers

nothing calls this directly

Calls 1

clampFunction · 0.90

Tested by

no test coverage detected