A layer of a RexPaint image.
Esempio n. 1
0
 /// <summary>
 /// Adds an existing layer (must be the same width/height) to the image and inserts it at the specified position (0-based).
 /// </summary>
 /// <param name="layer">The layer to add.</param>
 /// <param name="index">The position to add the layer.</param>
 public void Add(Layer layer, int index)
 {
     layers.Insert(index, layer);
 }
Esempio n. 2
0
 /// <summary>
 /// Removes the specified layer.
 /// </summary>
 /// <param name="layer">The layer.</param>
 public void Remove(Layer layer)
 {
     layers.Remove(layer);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds an existing layer (must be the same width/height) to the image.
 /// </summary>
 /// <param name="layer">The layer to add.</param>
 public void Add(Layer layer)
 {
     layers.Add(layer);
 }