Contents

convertFromLayer(_:)

Convert the point from the layer’s interior coordinate system to the view’s interior coordinate system.

Declaration

func convertFromLayer(_ point: NSPoint) -> NSPoint

Parameters

  • point:

    The point in the layer’s interior coordinate system.

Return Value

The point in the view’s interior coordinate system.

Discussion

The layer’s space is virtual, and doesn’t take into account the layer’s contentsScale setting.

See Also

Converting Coordinate Values