Declaration

func getHandleRect(
    _ point: NSPoint,
    isSelected selected: Bool,
    at layerOrigin: NSPoint
) -> NSRect

Declaration

- (NSRect) getHandleRect:(NSPoint) point
              isSelected:(bool) selected
                 atPoint:(NSPoint) layerOrigin;

Declaration

getHandleRect_isSelected_atPoint_(
    point: NSPoint,
    selected: bool,
    layerOrigin: NSPoint
) -> NSRect

Parameters

point

The node position

selected

If the node is selected or not

layerOrigin

The origin point of the current layer

Return Value

The rect