mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-06-29 07:21:23 +02:00
14 lines
278 B
JavaScript
14 lines
278 B
JavaScript
|
import { Text, Color } from 'cal';
|
||
|
|
||
|
export const dimensionsText = new Text({
|
||
|
size: 16,
|
||
|
family: 'monospace',
|
||
|
fill: true,
|
||
|
fillColor: new Color(0x000000),
|
||
|
stroke: true,
|
||
|
strokeWidth: 2,
|
||
|
strokeColor: new Color(0xffffff),
|
||
|
align: 'center',
|
||
|
baseline: 'alphabetic'
|
||
|
});
|