C# 클래스 Core2D.Shapes.XGroup

Group shape.
상속: Core2D.Shape.BaseShape
파일 보기 프로젝트 열기: Core2D/Core2D 1 사용 예제들

공개 메소드들

메소드 설명
AddConnectorAsInput ( XPoint point ) : void

Adds XPoint to Connectors collection with ShapeStateFlags.Input flag set.

AddConnectorAsNone ( XPoint point ) : void

Adds XPoint to Connectors collection with ShapeStateFlags.None flag set.

AddConnectorAsOutput ( XPoint point ) : void

Adds XPoint to Connectors collection with ShapeStateFlags.Output flag set.

AddShape ( BaseShape shape ) : void

Adds BaseShape to Shapes collection.

Create ( string name ) : XGroup

Creates a new XGroup instance.

Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void
GetPoints ( ) : IEnumerable
Group ( string name, IEnumerable shapes, IList source = null ) : XGroup

Creates a new XGroup instance.

Move ( double dx, double dy ) : void
Ungroup ( BaseShape shape, IList source, bool isShapeFromGroup = false ) : void

Ungroup shape.

Ungroup ( IEnumerable shapes, IList source, bool isShapeFromGroup = false ) : void

Ungroup shapes.

XGroup ( ) : System.Collections.Generic

Initializes a new instance of the XGroup class.

메소드 상세

AddConnectorAsInput() 공개 메소드

Adds XPoint to Connectors collection with ShapeStateFlags.Input flag set.
public AddConnectorAsInput ( XPoint point ) : void
point XPoint The point object.
리턴 void

AddConnectorAsNone() 공개 메소드

Adds XPoint to Connectors collection with ShapeStateFlags.None flag set.
public AddConnectorAsNone ( XPoint point ) : void
point XPoint The point object.
리턴 void

AddConnectorAsOutput() 공개 메소드

Adds XPoint to Connectors collection with ShapeStateFlags.Output flag set.
public AddConnectorAsOutput ( XPoint point ) : void
point XPoint The point object.
리턴 void

AddShape() 공개 메소드

Adds BaseShape to Shapes collection.
public AddShape ( BaseShape shape ) : void
shape Core2D.Shape.BaseShape The shape object.
리턴 void

Create() 공개 정적인 메소드

Creates a new XGroup instance.
public static Create ( string name ) : XGroup
name string The group name.
리턴 XGroup

Draw() 공개 메소드

public Draw ( object dc, ShapeRenderer renderer, double dx, double dy, ImmutableArray db, XRecord r ) : void
dc object
renderer Core2D.Renderer.ShapeRenderer
dx double
dy double
db ImmutableArray
r Core2D.Data.Database.XRecord
리턴 void

GetPoints() 공개 메소드

public GetPoints ( ) : IEnumerable
리턴 IEnumerable

Group() 공개 정적인 메소드

Creates a new XGroup instance.
public static Group ( string name, IEnumerable shapes, IList source = null ) : XGroup
name string The group name.
shapes IEnumerable The shapes collection.
source IList The source shapes collection.
리턴 XGroup

Move() 공개 메소드

public Move ( double dx, double dy ) : void
dx double
dy double
리턴 void

Ungroup() 공개 정적인 메소드

Ungroup shape.
public static Ungroup ( BaseShape shape, IList source, bool isShapeFromGroup = false ) : void
shape Core2D.Shape.BaseShape The shape instance.
source IList The source shapes collection.
isShapeFromGroup bool The flag indicating whether shape originates from group.
리턴 void

Ungroup() 공개 정적인 메소드

Ungroup shapes.
public static Ungroup ( IEnumerable shapes, IList source, bool isShapeFromGroup = false ) : void
shapes IEnumerable The shapes collection.
source IList The source shapes collection.
isShapeFromGroup bool The flag indicating whether shapes originate from group.
리턴 void

XGroup() 공개 메소드

Initializes a new instance of the XGroup class.
public XGroup ( ) : System.Collections.Generic
리턴 System.Collections.Generic