public TransparentShapeImpl(AbstractShape shape, float transparency) { this.shape = shape; this.transparency = transparency; }
public ColoredShapeImpl(AbstractShape shape, string color) { this.shape = shape; this.color = color; }