class Shape2D extends Object2D { constructor(name, shape = null, data = null) { super(name); this.shape = shape; this.data = data; } }