Class CaptureArea
- Namespace
- PlumJsonAnimator.Models
- Assembly
- PlumJsonAnimator.dll
Provides methods for work with capture area. This area renders into exported images, gifs, videos and other images.
public class CaptureArea
- Inheritance
-
CaptureArea
- Inherited Members
Constructors
CaptureArea(int, int, int, int, AppSettings)
public CaptureArea(int x, int y, int width, int height, AppSettings appSettings)
Parameters
xintyintwidthintheightintappSettingsAppSettings
Methods
DrawCaptureArea(Canvas)
public void DrawCaptureArea(Canvas canvas)
Parameters
canvasCanvas
GetRect()
Returns bounds of capture area
public Rect GetRect()
Returns
- Rect
Bound rect
MoveSelectedPoint(int, int)
Moves the selected point into new location
public void MoveSelectedPoint(int x, int y)
Parameters
SelectPoint(int, int)
Selects point near the click location
public void SelectPoint(int x, int y)
Parameters
UnSelectPoint()
Unselects point and saves capture area into app settings file
public void UnSelectPoint()