C# 클래스 X.UI.EffectLayer.EffectLayer

상속: Windows.UI.Xaml.Controls.Control
파일 보기 프로젝트 열기: liquidboy/X

공개 프로퍼티들

프로퍼티 타입 설명
GlowAmountProperty Windows.UI.Xaml.DependencyProperty
GlowColorProperty Windows.UI.Xaml.DependencyProperty
GlowFillProperty Windows.UI.Xaml.DependencyProperty
ShowGlowAreaProperty Windows.UI.Xaml.DependencyProperty

Private Properties

프로퍼티 타입 설명
DoEffect void
DoPathEffect void
DoStreamsEffect void
DoUIElementsEffect void
EffectLayer_Loaded void
EffectLayer_Unloaded void
InitBkgLayer void
OnDraw void
OnPropertyChanged void

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnApplyTemplate ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawPath() 공개 메소드

public DrawPath ( string path ) : void
path string
리턴 void

DrawStreams() 공개 메소드

public DrawStreams ( IRandomAccessStream stream, int index ) : void
stream IRandomAccessStream
index int
리턴 void

DrawUIElements() 공개 메소드

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

EffectLayer() 공개 메소드

public EffectLayer ( ) : Microsoft.Graphics.Canvas
리턴 Microsoft.Graphics.Canvas

GetUIElementBitmapPixels() 공개 메소드

public GetUIElementBitmapPixels ( UIElement element, double offsetX, double offsetY ) : Task>
element Windows.UI.Xaml.UIElement
offsetX double
offsetY double
리턴 Task>

InitLayer() 공개 메소드

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
리턴 void

OnApplyTemplate() 보호된 메소드

protected OnApplyTemplate ( ) : void
리턴 void

프로퍼티 상세

GlowAmountProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml GlowAmountProperty
리턴 Windows.UI.Xaml.DependencyProperty

GlowColorProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml GlowColorProperty
리턴 Windows.UI.Xaml.DependencyProperty

GlowFillProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml GlowFillProperty
리턴 Windows.UI.Xaml.DependencyProperty

ShowGlowAreaProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml ShowGlowAreaProperty
리턴 Windows.UI.Xaml.DependencyProperty