visualization-tools

Home > @visualization-tools/cartesian-2d > CategoryStack2d

CategoryStack2d class

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 

Constructors

Constructor Modifiers Description
(constructor)(category)   Constructs a new instance of the CategoryStack2d class

Methods

Method Modifiers Description
addEntity(entity)    
update()