摘要: In Chapter 5, We study how to use Image’s Clip and RenderTransform to create animation for sprite. Now, I will introduce a new method base on WriteableBitmap to cut the image. You can use it as follows:BitmapImage bitmap = newBitmapImage(newUri(@"/Images/Role/sprite.png", UriKind.Relative)); Imagei
阅读全文