GroupAttachment
open class GroupAttachment : Attachment
Represents a group attachment. This class overrides Attachment.
-
Initializes a new instance of the GroupAttachment class with the specified master and child nodes and node offset.
Declaration
Swift
public override init(master: DiagramItem, childNode: DiagramNode, nodeOffset: AttachToNode)Parameters
masterThe master item of the group.
childNodeThe child node in the group.
nodeOffsetSpecifies how child is attached to master. One of the AttachToNode enumeration values.
Return Value
The newly created GroupAttachment object.
-
Initializes a new instance of the GroupAttachment class with the specified master and child nodes and link offset.
Declaration
Swift
public override init(master: DiagramItem, childNode: DiagramNode, linkOffset: AttachToLink)Parameters
masterThe master item of the group.
childNodeThe child node in the group.
nodeOffsetSpecifies how child is linked to master. One of the AttachToLink enumeration values.
Return Value
The newly created GroupAttachment object.
-
Updates the child node after changes in the master node.
Declaration
Swift
open override func updateFromMaster()
GroupAttachment Class Reference