Factory to create canvas layers.