Click or drag to resize
CanvasSpriteBatch Methods

The CanvasSpriteBatch type exposes the following members.

Methods
  NameDescription
Public methodConvertDipsToPixels
[Win10_10586] Converts units from device independent pixels (DIPs) to physical pixels based on the DPI of this sprite batch.
Public methodConvertPixelsToDips
[Win10_10586] Converts units from physical pixels to device independent pixels (DIPs) based on the DPI of this sprite batch.
Public methodDispose
[Win10_10586] Finalizes the sprite batch and submits it to the CanvasDrawingSession.
Public methodDraw(CanvasBitmap, Matrix3x2)
[Win10_10586] Adds a sprite to the sprite batch, drawn using a specific transform.
Public methodDraw(CanvasBitmap, Vector2)
[Win10_10586] Adds a sprite to the sprite batch, drawn at a specified offset.
Public methodDraw(CanvasBitmap, Rect)
[Win10_10586] Adds a sprite to the sprite batch, scaled to fill a rectangle.
Public methodDraw(CanvasBitmap, Matrix3x2, Vector4)
[Win10_10586] Adds a sprite to the sprite batch, drawn using a specific transform and tinted
Public methodDraw(CanvasBitmap, Vector2, Vector4)
[Win10_10586] Adds a sprite to the sprite batch, drawn at a specified offset and tinted.
Public methodDraw(CanvasBitmap, Rect, Vector4)
[Win10_10586] Adds a sprite to the sprite batch, scaled to fill a rectangle and tinted.
Public methodDraw(CanvasBitmap, Matrix3x2, Vector4, CanvasSpriteFlip)
[Win10_10586] Adds a sprite to the sprite batch, drawn using a specific transform, tinted and optionally flipped.
Public methodDraw(CanvasBitmap, Rect, Vector4, CanvasSpriteFlip)
[Win10_10586] Adds a sprite to the sprite batch, scaled to fill a rectangle, tinted and optionally flipped.
Public methodDraw(CanvasBitmap, Vector2, Vector4, Vector2, Single, Vector2, CanvasSpriteFlip)
[Win10_10586] Adds a sprite to the sprite batch, drawn at a specified offset, tinted with additional rotation and scale and optionally flipped.
Public methodDrawFromSpriteSheet(CanvasBitmap, Matrix3x2, Rect)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn using a specific transform.
Public methodDrawFromSpriteSheet(CanvasBitmap, Vector2, Rect)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn at a specified offset.
Public methodDrawFromSpriteSheet(CanvasBitmap, Rect, Rect)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, scaled to fill a rectangle.
Public methodDrawFromSpriteSheet(CanvasBitmap, Matrix3x2, Rect, Vector4)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn using a specific transform and tinted
Public methodDrawFromSpriteSheet(CanvasBitmap, Vector2, Rect, Vector4)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn at a specified offset and tinted.
Public methodDrawFromSpriteSheet(CanvasBitmap, Rect, Rect, Vector4)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, scaled to fill a rectangle and tinted.
Public methodDrawFromSpriteSheet(CanvasBitmap, Matrix3x2, Rect, Vector4, CanvasSpriteFlip)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn using a specific transform, tinted and optionally flipped.
Public methodDrawFromSpriteSheet(CanvasBitmap, Rect, Rect, Vector4, CanvasSpriteFlip)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, scaled to fill a rectangle, tinted and optionally flipped.
Public methodDrawFromSpriteSheet(CanvasBitmap, Vector2, Rect, Vector4, Vector2, Single, Vector2, CanvasSpriteFlip)
[Win10_10586] Adds a sprite from a sprite sheet to the sprite batch, drawn at a specified offset, tinted with additional rotation and scale and optionally flipped.
Public methodStatic memberIsSupported
Checks whether CanvasSpriteBatch is supported on the current operating system version.
Top
See Also