NodeAdjustmentHandle

open class NodeAdjustmentHandle : AdjustmentHandle

Represents adjustment handles for nodes. This class inherits AdjustmentHandle.

  • Updates the bounds of the specified rectangle according to the NodeHandleType and the start and end point of the user’s gesture.

    Declaration

    Swift

    open func updateBounds(_ bounds: Rect, start: Point, end: Point) -> Rect

    Parameters

    bounds

    The node’s rectangle to update.

    start

    The point where the user’s manipulation has started.

    end

    The point where the user’s manipulation has ended.

    Return Value

    The modified rectangle.

  • The type of the node handle that was modified. One of the NodeHandleType enumeration values.

    Declaration

    Swift

    open var nodeHandleType: NodeHandleType