Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
handleChangeColor
Function · 0.45
renderSetPenStrokeColor
Function · 0.45
changeCurrentStrokeColorAlpha
Method · 0.45
shortcutKeysRegister.tsx
File · 0.45
refreshTagNamesUI
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected