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

Method fillStyle

packages/melonjs/src/renderable/text/bitmaptext.js:308–310  ·  view source on GitHub ↗

* defines the color used to tint the bitmap text * @public * @type {Color} * @see Renderable#tint

()

Source from the content-addressed store, hash-verified

306 * @see Renderable#tint
307 */
308 get fillStyle() {
309 return this.tint;
310 }
311 set fillStyle(value) {
312 if (value instanceof Color) {
313 this.tint.copy(value);

Callers

nothing calls this directly

Calls 2

parseCSSMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected