Method | Description | |
---|---|---|
ResetCorner ( double topLeftCornerCanvasLeft, double topLeftCornerCanvasTop, double bottomRightCornerCanvasLeft, double bottomRightCornerCanvasTop ) : void | ||
ResizeSelectedRect ( double scale ) : void |
Resizes the SelectedRect.
|
|
UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, bool singleCornerMovement = false ) : void |
Update the Canvas.Top and Canvas.Left of the corner.
|
|
UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, double minWidthSize, double minHeightSize, bool singleCornerMovement = false ) : 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.
|
Method | Description | |
---|---|---|
OnPropertyChanged ( string propertyName ) : void |
Method | Description | |
---|---|---|
ValidateValue ( double tempValue, double from, double to ) : double |
protected OnPropertyChanged ( string propertyName ) : void | ||
propertyName | string | |
return | void |
public ResetCorner ( double topLeftCornerCanvasLeft, double topLeftCornerCanvasTop, double bottomRightCornerCanvasLeft, double bottomRightCornerCanvasTop ) : void | ||
topLeftCornerCanvasLeft | double | |
topLeftCornerCanvasTop | double | |
bottomRightCornerCanvasLeft | double | |
bottomRightCornerCanvasTop | double | |
return | void |
public ResizeSelectedRect ( double scale ) : void | ||
scale | double | The scaling. |
return | void |
public UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, bool singleCornerMovement = false ) : void | ||
cornerName | string | |
leftUpdate | double | |
topUpdate | double | |
singleCornerMovement | bool | |
return | void |
public UpdateCorner ( string cornerName, double leftUpdate, double topUpdate, double minWidthSize, double minHeightSize, bool singleCornerMovement = false ) : void | ||
cornerName | string | |
leftUpdate | double | |
topUpdate | double | |
minWidthSize | double | |
minHeightSize | double | |
singleCornerMovement | bool | |
return | void |
public UpdateSelectedRect ( double scale, double leftUpdate, double topUpdate ) : void | ||
scale | double | |
leftUpdate | double | |
topUpdate | double | |
return | void |