Example #1
0
 public bool DrawImage(int x, int y, ImageObj img, float opacity = 1)
 {
     if (_imgGraphic == null)
     {
         return(false);
     }
     _imgGraphic.DrawImage(img._imageObj, new Point(x, y));
     return(true);
 }
 public bool DrawImage(int x, int y, ImageObj img, float opacity = 1)
 {
     if (_imageObj == null)
     {
         return(false);
     }
     _imageObj.Mutate(xx => xx.DrawImage(img._imageObj, new Point(x, y), opacity));
     return(true);
 }