MCPcopy
hub / github.com/graphif/project-graph / toArray

Method toArray

packages/data-structures/src/Color.ts:232–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230 }
231
232 toArray(): [number, number, number, number] {
233 return [this.r, this.g, this.b, this.a];
234 }
235
236 static getRandom(): Color {
237 const r = Math.floor(Math.random() * 256);

Callers 5

handleChangeColorFunction · 0.45
renderSetPenStrokeColorFunction · 0.45
refreshTagNamesUIMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected