C# 클래스 DiagramContext, UnityClassDiagram

파일 보기 프로젝트 열기: sashcode/UnityClassDiagram 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
editor DiagramEditorWindow,

공개 메소드들

메소드 설명
DiagramContext ( DiagramEditorWindow, editorWindow ) : System.Collections.Generic
Drag ( Vector2 position ) : void
DragEnd ( Vector2 position ) : void
DragStart ( Vector2 position ) : void
FindNode ( string id ) : DiagramNode,
GetCommand ( ) : DiagramCommand,
GetDragDelta ( ) : Vector2
GetEdgeAdapter ( int typeId ) : EdgeAdapter,
GetNodeAdapter ( int typeId ) : NodeAdapter,
GetSelection ( ) : DiagramSelection,
IsMainSelection ( DiagramElement element ) : bool

메소드 상세

DiagramContext() 공개 메소드

public DiagramContext ( DiagramEditorWindow, editorWindow ) : System.Collections.Generic
editorWindow DiagramEditorWindow,
리턴 System.Collections.Generic

Drag() 공개 메소드

public Drag ( Vector2 position ) : void
position Vector2
리턴 void

DragEnd() 공개 메소드

public DragEnd ( Vector2 position ) : void
position Vector2
리턴 void

DragStart() 공개 메소드

public DragStart ( Vector2 position ) : void
position Vector2
리턴 void

FindNode() 공개 메소드

public FindNode ( string id ) : DiagramNode,
id string
리턴 DiagramNode,

GetCommand() 공개 메소드

public GetCommand ( ) : DiagramCommand,
리턴 DiagramCommand,

GetDragDelta() 공개 메소드

public GetDragDelta ( ) : Vector2
리턴 Vector2

GetEdgeAdapter() 공개 메소드

public GetEdgeAdapter ( int typeId ) : EdgeAdapter,
typeId int
리턴 EdgeAdapter,

GetNodeAdapter() 공개 메소드

public GetNodeAdapter ( int typeId ) : NodeAdapter,
typeId int
리턴 NodeAdapter,

GetSelection() 공개 메소드

public GetSelection ( ) : DiagramSelection,
리턴 DiagramSelection,

IsMainSelection() 공개 메소드

public IsMainSelection ( DiagramElement element ) : bool
element DiagramElement
리턴 bool

프로퍼티 상세

editor 공개적으로 프로퍼티

public DiagramEditorWindow, editor
리턴 DiagramEditorWindow,