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

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

Public Methods

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

Initialize new instance of ImageSelection class.

Move ( ) : void

Move selection.

Remove ( ) : void

Remove selection.

ToStateOne ( ) : void

Transfer selection state to ToolState.One.

Method Details

ImageSelection() public method

Initialize new instance of ImageSelection class.
public ImageSelection ( XLayer layer, XImage shape, ShapeStyle style, BaseShape point ) : Core2D.Project
layer Core2D.Project.XLayer The selection shapes layer.
shape Core2D.Shapes.XImage 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