Home > @visualization-tools/cartesian-2d > CategoryStack2d
Assigns a value to T2dRelativeZIndexTrait based on the position in the stack. Entities towards the top of the stack have higher values.
Signature:
export declare class CategoryStack2d
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(category) | Constructs a new instance of the CategoryStack2d class |
| Method | Modifiers | Description |
|---|---|---|
| addEntity(entity) | ||
| update() |