C# Class X.UI.Composition.SurfaceLoader

Mostra file Open project: liquidboy/X Class Usage Examples

Public Methods

Method Description
Initialize ( Compositor compositor ) : void
LoadFromUri ( Uri uri ) : Task
LoadFromUri ( Uri uri, Size sizeTarget ) : Task
LoadFromUri ( Uri uri, Size sizeTarget, LoadTimeEffectHandler loadEffectHandler ) : Task
LoadText ( string text, Size sizeTarget, Microsoft.Graphics.Canvas.Text.CanvasTextFormat textFormat, Color textColor, Color bgColor ) : CompositionDrawingSurface
Uninitialize ( ) : void

Method Details

Initialize() static public method

static public Initialize ( Compositor compositor ) : void
compositor Compositor
return void

LoadFromUri() static public method

static public LoadFromUri ( Uri uri ) : Task
uri Uri
return Task

LoadFromUri() static public method

static public LoadFromUri ( Uri uri, Size sizeTarget ) : Task
uri Uri
sizeTarget Windows.Foundation.Size
return Task

LoadFromUri() static public method

static public LoadFromUri ( Uri uri, Size sizeTarget, LoadTimeEffectHandler loadEffectHandler ) : Task
uri Uri
sizeTarget Windows.Foundation.Size
loadEffectHandler LoadTimeEffectHandler
return Task

LoadText() static public method

static public LoadText ( string text, Size sizeTarget, Microsoft.Graphics.Canvas.Text.CanvasTextFormat textFormat, Color textColor, Color bgColor ) : CompositionDrawingSurface
text string
sizeTarget Windows.Foundation.Size
textFormat Microsoft.Graphics.Canvas.Text.CanvasTextFormat
textColor Color
bgColor Color
return CompositionDrawingSurface

Uninitialize() static public method

static public Uninitialize ( ) : void
return void