C# Class Core2D.Editor.Tools.Selection.CubicBezierSelection

Helper class for XCubicBezier shape selection.
Mostrar archivo Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
CubicBezierSelection ( XLayer layer, ICubicBezier shape, ShapeStyle style, BaseShape point ) : Core2D.Project

Initialize new instance of CubicBezierSelection class.

Move ( ) : void

Move selection.

Remove ( ) : void

Remove selection.

ToStateOne ( ) : void

Transfer selection state to ToolState.One.

ToStateThree ( ) : void

Transfer selection state to ToolState.Three.

ToStateTwo ( ) : void

Transfer selection state to ToolState.Two.

Method Details

CubicBezierSelection() public method

Initialize new instance of CubicBezierSelection class.
public CubicBezierSelection ( XLayer layer, ICubicBezier shape, ShapeStyle style, BaseShape point ) : Core2D.Project
layer Core2D.Project.XLayer The selection shapes layer.
shape ICubicBezier The selected shape.
style Core2D.Style.ShapeStyle The selection shapes style.
point Core2D.Shape.BaseShape The selection point shape.
return Core2D.Project

Move() public method

Move selection.
public Move ( ) : void
return void

Remove() public method

Remove selection.
public Remove ( ) : void
return void

ToStateOne() public method

Transfer selection state to ToolState.One.
public ToStateOne ( ) : void
return void

ToStateThree() public method

Transfer selection state to ToolState.Three.
public ToStateThree ( ) : void
return void

ToStateTwo() public method

Transfer selection state to ToolState.Two.
public ToStateTwo ( ) : void
return void