addColor Method
Add a color
addColor(color: number): number
Parameter | Type | Description |
---|---|---|
color | number |
Returns - number
0-based index of the added or reused color.
Defined in
- polyface/Polyface.ts Line 391
Last Updated: 30 November, 2023
Add a color
addColor(color: number): number
Parameter | Type | Description |
---|---|---|
color | number |
Returns - number
0-based index of the added or reused color.
Last Updated: 30 November, 2023