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

Helper class for XArc shape selection.
Show file Open project: Core2D/Core2D Class Usage Examples

Public Methods

Method Description
ArcSelection ( XLayer layer, IArc shape, ShapeStyle style, BaseShape point ) : Core2D.Math.Arc

Initialize new instance of ArcSelection 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

ArcSelection() public method

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

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