class LienzoLayer {

    public LienzoLayer add(final IPrimitive<?> shape) {
        if (layer.getChildNodes().contains(shape)) {
            LOGGER.log(Level.WARNING, "Cannot add a primitive shape into the layer twice!");
        } else {
            layer.add(shape);
        }
        return this;
    }

    public  LienzoLayer();
      LienzoLayer(final LienzoCustomLayer layer);

}