Exemplo n.º 1
0
 public override void draw(RenderingContext context)
 {
     if (needScale9Grid)
     {
         context.DrawScale9Grid(bitmapData, (int)x, (int)y, (int)width, (int)height, scale9Grid);
         return;
     }
     context.DrawImage(bitmapData, 0, 0, bitmapData.width, bitmapData.height);
 }