C# Class CoreLib.Effects.TemperatureAndTintEffect

Inheritance: Windows.UI.Xaml.DependencyObject, ICompositionEffect
显示文件 Open project: liquidboy/X

Public Properties

Property Type Description
SourceProperty Windows.UI.Xaml.DependencyProperty
TemperatureProperty Windows.UI.Xaml.DependencyProperty
TintProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Draw ( ) : Task
Initialize ( UIElement attachedElement ) : void
InitializeResources ( ) : Task
Uninitialize ( ) : void

Private Methods

Method Description
CreateBrush ( ) : void
CreateEffect ( ) : void
CreateImageFactory ( UIElement element ) : void
CreateSpriteVisual ( ) : void
CreateSurface ( ) : Task
GetElementHeight ( ) : float
GetElementWidth ( ) : float
Insert ( ) : void
TemperatureChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
TintChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
UpdateSpriteVisual ( ) : void
UpdateTemperature ( ) : void
UpdateTint ( ) : void

Method Details

Draw() public method

public Draw ( ) : Task
return Task

Initialize() public method

public Initialize ( UIElement attachedElement ) : void
attachedElement Windows.UI.Xaml.UIElement
return void

InitializeResources() public method

public InitializeResources ( ) : Task
return Task

Uninitialize() public method

public Uninitialize ( ) : void
return void

Property Details

SourceProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SourceProperty
return Windows.UI.Xaml.DependencyProperty

TemperatureProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TemperatureProperty
return Windows.UI.Xaml.DependencyProperty

TintProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TintProperty
return Windows.UI.Xaml.DependencyProperty