C# Class XamlBrewer.Uwp.Controls.Helpers.SelectedRegion

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: XamlBrewer/UWP-ImageCropper- Class Usage Examples

Méthodes publiques

Méthode Description
ResetCorner ( double topLeftCornerCanvasLeft, double topLeftCornerCanvasTop, double bottomRightCornerCanvasLeft, double bottomRightCornerCanvasTop ) : void
UpdateCorner ( string cornerName, double leftUpdate, double topUpdate ) : void

Update the Canvas.Top and Canvas.Left of the corner.

UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, double minWidthSize, double minHeightSize ) : void

Update the Canvas.Top and Canvas.Left of the corner.

UpdateSelectedRect ( double scale, double leftUpdate, double topUpdate ) : void

Update the SelectedRect when it is moved or scaled.

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Méthode Description
ValidateValue ( double tempValue, double from, double to ) : double

Method Details

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

ResetCorner() public méthode

public ResetCorner ( double topLeftCornerCanvasLeft, double topLeftCornerCanvasTop, double bottomRightCornerCanvasLeft, double bottomRightCornerCanvasTop ) : void
topLeftCornerCanvasLeft double
topLeftCornerCanvasTop double
bottomRightCornerCanvasLeft double
bottomRightCornerCanvasTop double
Résultat void

UpdateCorner() public méthode

Update the Canvas.Top and Canvas.Left of the corner.
public UpdateCorner ( string cornerName, double leftUpdate, double topUpdate ) : void
cornerName string
leftUpdate double
topUpdate double
Résultat void

UpdateCorner() public méthode

Update the Canvas.Top and Canvas.Left of the corner.
public UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, double minWidthSize, double minHeightSize ) : void
cornerName string
leftUpdate double
topUpdate double
minWidthSize double
minHeightSize double
Résultat void

UpdateSelectedRect() public méthode

Update the SelectedRect when it is moved or scaled.
public UpdateSelectedRect ( double scale, double leftUpdate, double topUpdate ) : void
scale double
leftUpdate double
topUpdate double
Résultat void