LinkEventArgs
open class LinkEventArgs
A class that specifies arguments for actions performed on DiagramLink objects.
-
Initializes a new instance of the LinkEventArgs class.
Declaration
Swift
public init(link: DiagramLink)
Parameters
node
The DiagramLink related to the event.
Return Value
The newly created LinkEventArgs object.
-
Initializes a new instance of the LinkEventArgs class.
Declaration
Swift
public init(link: DiagramLink, pointerPosition: Point, adjustmentHandle: Int)
Parameters
node
The DiagramLink related to the event.
pointerPosition
The position of the pointer when the event occurred.
adjustmentHandle
The index of the adjustment handle dragged by the user.
Return Value
The newly created LinkEventArgs object.
-
The index of the adjustment handle, dragged by the user, which generates the event with the current NodeEventArgs.
Declaration
Swift
open var adjustmentHandle: Int
-
The DiagramLink related to the event.
Declaration
Swift
open unowned var link: DiagramLink