Table of Contents

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

x int
y int
width int
height int
appSettings AppSettings

Methods

DrawCaptureArea(Canvas)

public void DrawCaptureArea(Canvas canvas)

Parameters

canvas Canvas

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

x int

X click coordinate

y int

Y click coordinate

SelectPoint(int, int)

Selects point near the click location

public void SelectPoint(int x, int y)

Parameters

x int

X click coordinate

y int

Y click coordinate

UnSelectPoint()

Unselects point and saves capture area into app settings file

public void UnSelectPoint()