ScreenCoordinate

public extension ScreenCoordinate
  • Initializes an internal ScreenCoordinate type from two CGFloat values.

    Declaration

    Swift

    convenience init(x: CGFloat, y: CGFloat)

    Parameters

    x

    The horizontal point along the screen’s coordinate system.

    y

    The vertical point along the screen’s coordinate system.

  • Reurns a CGPoint representation of an internal ScreenCoordinate value.

    Declaration

    Swift

    var point: CGPoint { get }