C# Class ScreenToGif.Controls.CroppingAdorner

Inheritance: System.Windows.Documents.Adorner
Afficher le fichier Open project: dbremner/ScreenToGif Class Usage Examples

Méthodes publiques

Свойство Type Description
ClipRectangleProperty System.Windows.DependencyProperty
CropChangedEvent System.Windows.RoutedEvent
FillProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
CropImage ( ) : System.Windows.Media.Imaging.BitmapSource
CroppingAdorner ( UIElement adornedElement, Rect rcInit ) : System

Méthodes protégées

Méthode Description
ArrangeOverride ( Size finalSize ) : Size
GetVisualChild ( int index ) : Visual

Private Methods

Méthode Description
AdornedElement_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
AdornerMargin ( ) : System.Windows.Thickness
BuildCorner ( System.Windows.Controls.Primitives.Thumb &thumb, System.Windows.Input.Cursor cursor ) : void
ClipRectanglePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
CroppingAdorner ( ) : System
FillPropChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
HandleBottom ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleBottomLeft ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleBottomRight ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleLeft ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleRight ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleThumb ( double drcL, double drcT, double drcW, double drcH, double dx, double dy ) : void
HandleTop ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleTopLeft ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
HandleTopRight ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs args ) : void
SetPosition ( System.Windows.Controls.Primitives.Thumb thumb, double x, double y ) : void
SetThumbs ( Rect rc ) : void
UnitsToPx ( double x, double y ) : System.Drawing.Point

Method Details

ArrangeOverride() protected méthode

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
Résultat System.Windows.Size

CropImage() public méthode

public CropImage ( ) : System.Windows.Media.Imaging.BitmapSource
Résultat System.Windows.Media.Imaging.BitmapSource

CroppingAdorner() public méthode

public CroppingAdorner ( UIElement adornedElement, Rect rcInit ) : System
adornedElement UIElement
rcInit System.Windows.Rect
Résultat System

GetVisualChild() protected méthode

protected GetVisualChild ( int index ) : Visual
index int
Résultat Visual

Property Details

ClipRectangleProperty public_oe static_oe property

public static DependencyProperty,System.Windows ClipRectangleProperty
Résultat System.Windows.DependencyProperty

CropChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows CropChangedEvent
Résultat System.Windows.RoutedEvent

FillProperty public_oe static_oe property

public static DependencyProperty,System.Windows FillProperty
Résultat System.Windows.DependencyProperty