CanvasSpriteFlip Enumeration |
Namespace: Microsoft.Graphics.Canvas
[FlagsAttribute] public enum CanvasSpriteFlip
Member name | Value | Description | |
---|---|---|---|
None | 0 | [Win10_10586] The sprite is drawn unflipped. | |
Horizontal | 1 | [Win10_10586] The sprite is drawn flipped horizontally. | |
Vertical | 2 | [Win10_10586] The sprite is drawn flipped vertically. | |
Both | 3 | [Win10_10586] The sprite is drawn flipped horizontally and vertically. |
This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.
Some overloads of CanvasSpriteBatch.Draw and CanvasSpriteBatch.DrawFromSpriteSheet accept a flip parameter to control flipping of a sprite.