Declaration

func getHandleRect(
    at pt: NSPoint,
    scale: CGFloat
) -> NSRect

Declaration

- (NSRect) getHandleRect:(NSPoint) pt
                   scale:(CGFloat) scale;

Declaration

getHandleRect_scale_(
    pt: NSPoint,
    scale: float
) -> NSRect

Parameters

pt

The center of the handle in layer coordinates.

scale

The editor scale used to size the handle.

See Also

Geometry