示例#1
0
 /// <summary>
 /// 移除完全透明的图片
 /// </summary>
 private void RemoveIsTransparentImage()
 {
     for (int i = 0; i < LayerList.Count; i++)
     {
         if (ImageDraw.ImageIsTransparent.IsTransparent(LayerList[i].LayerImage))
         {
             LayerList.RemoveAt(i);
             i--;
         }
     }
 }
示例#2
0
 /// <summary>
 /// Removes the layer at the specified index
 /// </summary>
 /// <param name="index"></param>
 public void RemoveLayerAt(int index)
 {
     LayerList.RemoveAt(index);
 }