SurfaceLoader Class

Definition

The SurfaceLoader is responsible to loading images into Composition Objects.

[Windows.Foundation.Metadata.Deprecated("This class is deprecated, please use the SurfaceLoader class from the Microsoft.Toolkit.Uwp.UI.Media package.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 6)]
public class SurfaceLoader
[<Windows.Foundation.Metadata.Deprecated("This class is deprecated, please use the SurfaceLoader class from the Microsoft.Toolkit.Uwp.UI.Media package.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 6)>]
type SurfaceLoader = class
Public Class SurfaceLoader
Inheritance
SurfaceLoader
Attributes
Windows.Foundation.Metadata.DeprecatedAttribute

Constructors

SurfaceLoader()

Properties

IsInitialized

Gets a value indicating whether this instance is initialized.

Methods

Initialize(Compositor)

Initializes the specified compositor.

LoadFromUri(Uri)

Loads an image from the URI.

LoadFromUri(Uri, Size)

Loads an image from URI with a specified size.

LoadFromUri(Uri, Size, LoadTimeEffectHandler)

Loads an image from URI, with a specified size.

LoadText(String, Size, CanvasTextFormat, Color, Color)

Loads the text on to a Windows.UI.Composition.CompositionDrawingSurface.

Uninitialize()

Uninitializes this instance.

Applies to