C# Класс DiagramContext, UnityClassDiagram

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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,