Property | Type | Description | |
---|---|---|---|
SourceImageProperty |
Method | Description | |
---|---|---|
ImageCropper ( ) : System |
Method | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
|
Method | Description | |
---|---|---|
AddCornerEvents ( |
||
Corner_PointerMoved ( object sender, |
If a pointer which is captured by the corner moves, the select region will be updated.
|
|
Corner_PointerPressed ( object sender, |
If a pointer presses in the corner, it means that the user starts to move the corner. 1. Capture the pointer, so that the UIElement can get the Pointer events (PointerMoved, PointerReleased...) even the pointer is outside of the UIElement. 2. Record the start position of the move.
|
|
Corner_PointerReleased ( object sender, |
The pressed pointer is released, which means that the move is ended. 1. Release the Pointer. 2. Clear the position history of the Pointer.
|
|
LoadImage ( |
Loads the image.
|
|
OnSourceImageChanged ( |
||
SelectRegion_ManipulationCompleted ( object sender, |
The manipulation is completed, and then update the preview image
|
|
SelectRegion_ManipulationDelta ( object sender, |
The user manipulates the selectRegion. The manipulation includes 1. Translate 2. Scale
|
|
SourceImage_SizeChanged ( object sender, |
This event will be fired when 1. An new image is opened. 2. The source of the sourceImage is set to null. 3. The view state of this application is changed.
|
|
UpdatePreviewImage ( ) : void |
Update preview image.
|