Exemple #1
0
        public CanvasLayer CreateNewLayer(string name)
        {
            var layer = new CanvasLayer(AttachedCanvas);

            layer.Name = name;
            Layers.Add(layer);

            return(layer);
        }
Exemple #2
0
 public void SetHidden(CanvasLayer layer)
 {
     layer.HideLayer();
 }
Exemple #3
0
 public void SetVisible(CanvasLayer layer)
 {
     layer.ShowLayer();
 }
Exemple #4
0
 public void PushActiveLayer()
 {
     preservedLayer = ActiveLayer;
 }