Click or drag to resize
CanvasSpriteFlip Enumeration
[Win10_10586] Controls the optional flipping of a sprite.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
[FlagsAttribute]
public enum CanvasSpriteFlip
Members
  Member nameValueDescription
None0[Win10_10586] The sprite is drawn unflipped.
Horizontal1[Win10_10586] The sprite is drawn flipped horizontally.
Vertical2[Win10_10586] The sprite is drawn flipped vertically.
Both3[Win10_10586] The sprite is drawn flipped horizontally and vertically.
Remarks

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.

See Also