Geometry
Nice-DAG is written based on typescript. It defines a couple of geometry models as following list.
Size
| Property | Description | Type |
|---|---|---|
| width | Width | number |
| height | Height | number |
Point
| Property | Description | Type |
|---|---|---|
| x | Coordinate X | number |
| y | Coordinate Y | number |
Padding
| Property | Description | Type |
|---|---|---|
| top | Padding top | number |
| bottom | Padding bottom | number |
| left | Padding left | number |
| right | Padding right | number |