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

Helper class for XRectangle shape selection.
Afficher le fichier Open project: Core2D/Core2D Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Move selection.
public Move ( ) : void
Résultat void

RectangleSelection() public méthode

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.
Résultat Core2D.Project

Remove() public méthode

Remove selection.
public Remove ( ) : void
Résultat void

ToStateOne() public méthode

Transfer selection state to ToolState.One.
public ToStateOne ( ) : void
Résultat void