Esempio n. 1
0
 public override BitmapBase Apply(Tank tank, BitmapBase layer)
 {
     if (FlipHorz)
         layer.FlipHorz();
     if (FlipVert)
         layer.FlipVert();
     return layer;
 }
Esempio n. 2
0
        public override BitmapBase Apply(RenderTask renderTask, BitmapBase layer)
        {
            Tank tank = renderTask.Tank;

            if (FlipHorz)
            {
                layer.FlipHorz();
            }
            if (FlipVert)
            {
                layer.FlipVert();
            }
            return(layer);
        }