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

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

Public Methods

Method Description
Move ( ) : void

Move selection.

RectangleSelection ( XLayer layer, XRectangle shape, ShapeStyle style, BaseShape point ) : Core2D.Project

Initialize new instance of RectangleSelection class.

Remove ( ) : void

Remove selection.

ToStateOne ( ) : void

Transfer selection state to ToolState.One.

Method Details

Move() public method

Move selection.
public Move ( ) : void
return void

RectangleSelection() public method

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

Remove() public method

Remove selection.
public Remove ( ) : void
return void

ToStateOne() public method

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