C# Class UniversalComposition.CompositionManager

显示文件 Open project: juanpaexpedite/MasterDetailsComposition

Public Methods

Method Description
CreateBrushFromAsset ( this compositor, Uri uri, Size &size ) : CompositionSurfaceBrush
CreateChildContainer ( this compositor, UIElement element ) : ContainerVisual
CreateChildSprite ( this compositor, UIElement element ) : SpriteVisual
GetContainerVisual ( this element ) : ContainerVisual
GetSize ( this element ) : Task
ResizeImage ( this sprite, Size size, double imageAspectRatio ) : void

Method Details

CreateBrushFromAsset() public static method

public static CreateBrushFromAsset ( this compositor, Uri uri, Size &size ) : CompositionSurfaceBrush
compositor this
uri Uri
size Windows.Foundation.Size
return CompositionSurfaceBrush

CreateChildContainer() public static method

public static CreateChildContainer ( this compositor, UIElement element ) : ContainerVisual
compositor this
element Windows.UI.Xaml.UIElement
return ContainerVisual

CreateChildSprite() public static method

public static CreateChildSprite ( this compositor, UIElement element ) : SpriteVisual
compositor this
element Windows.UI.Xaml.UIElement
return SpriteVisual

GetContainerVisual() public static method

public static GetContainerVisual ( this element ) : ContainerVisual
element this
return ContainerVisual

GetSize() public static method

public static GetSize ( this element ) : Task
element this
return Task

ResizeImage() public static method

public static ResizeImage ( this sprite, Size size, double imageAspectRatio ) : void
sprite this
size Windows.Foundation.Size
imageAspectRatio double
return void