Manipulator
open class Manipulator
Base class for interactive manipulators, which are user interface elements attached to a diagram item. The user can perform various manipulations on objects through their attached manipulators.
-
Initializes a new instance of the Manipulator class related to the specified diagram item.
Declaration
Swift
public init(item: DiagramItem)
Parameters
item
The DiagramItem that uses this Manipulator.
-
Renders the Manipulator at the specified canvas.
Declaration
Swift
open func draw(_ canvas: Canvas)
Parameters
canvas
The canvas where this Manipulator is rendered.