C# Class X.UI.EffectLayer.EffectLayer

Inheritance: Windows.UI.Xaml.Controls.Control
Afficher le fichier Open project: liquidboy/X

Méthodes publiques

Свойство Type Description
GlowAmountProperty Windows.UI.Xaml.DependencyProperty
GlowColorProperty Windows.UI.Xaml.DependencyProperty
GlowFillProperty Windows.UI.Xaml.DependencyProperty
ShowGlowAreaProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
DoEffect void
DoPathEffect void
DoStreamsEffect void
DoUIElementsEffect void
EffectLayer_Loaded void
EffectLayer_Unloaded void
InitBkgLayer void
OnDraw void
OnPropertyChanged void

Méthodes publiques

Méthode Description
Dispose ( ) : void
DrawPath ( string path ) : void
DrawStreams ( IRandomAccessStream stream, int index ) : void
DrawUIElements ( UIElement elm, int index = -1, double offsetX, double offsetY ) : void
EffectLayer ( ) : Microsoft.Graphics.Canvas
GetUIElementBitmapPixels ( UIElement element, double offsetX, double offsetY ) : Task>
InitLayer ( double canvasWidth, double canvasHeight, double offsetX, double offsetY, EffectGraphType graphType = EffectGraphType.Shadow ) : void

Méthodes protégées

Méthode Description
OnApplyTemplate ( ) : void

Private Methods

Méthode Description
DoEffect ( Microsoft.Graphics.Canvas.CanvasDrawingSession ds, Size size, float amount, Windows glowColor, Windows fillColor, double expandAmount ) : void
DoPathEffect ( CanvasControl sender, Microsoft.Graphics.Canvas.CanvasDrawingSession ds ) : void
DoStreamsEffect ( CanvasControl sender, Microsoft.Graphics.Canvas.CanvasDrawingSession ds ) : void
DoUIElementsEffect ( CanvasControl sender, Microsoft.Graphics.Canvas.CanvasDrawingSession ds ) : void
EffectLayer_Loaded ( object sender, RoutedEventArgs e ) : void
EffectLayer_Unloaded ( object sender, RoutedEventArgs e ) : void
InitBkgLayer ( double offsetX, double offsetY ) : void
OnDraw ( CanvasControl sender, CanvasDrawEventArgs args ) : void
OnPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawPath() public méthode

public DrawPath ( string path ) : void
path string
Résultat void

DrawStreams() public méthode

public DrawStreams ( IRandomAccessStream stream, int index ) : void
stream IRandomAccessStream
index int
Résultat void

DrawUIElements() public méthode

public DrawUIElements ( UIElement elm, int index = -1, double offsetX, double offsetY ) : void
elm Windows.UI.Xaml.UIElement
index int
offsetX double
offsetY double
Résultat void

EffectLayer() public méthode

public EffectLayer ( ) : Microsoft.Graphics.Canvas
Résultat Microsoft.Graphics.Canvas

GetUIElementBitmapPixels() public méthode

public GetUIElementBitmapPixels ( UIElement element, double offsetX, double offsetY ) : Task>
element Windows.UI.Xaml.UIElement
offsetX double
offsetY double
Résultat Task>

InitLayer() public méthode

public InitLayer ( double canvasWidth, double canvasHeight, double offsetX, double offsetY, EffectGraphType graphType = EffectGraphType.Shadow ) : void
canvasWidth double
canvasHeight double
offsetX double
offsetY double
graphType EffectGraphType
Résultat void

OnApplyTemplate() protected méthode

protected OnApplyTemplate ( ) : void
Résultat void

Property Details

GlowAmountProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml GlowAmountProperty
Résultat Windows.UI.Xaml.DependencyProperty

GlowColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml GlowColorProperty
Résultat Windows.UI.Xaml.DependencyProperty

GlowFillProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml GlowFillProperty
Résultat Windows.UI.Xaml.DependencyProperty

ShowGlowAreaProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ShowGlowAreaProperty
Résultat Windows.UI.Xaml.DependencyProperty