ScreenCoordinate
public extension ScreenCoordinate
-
Initializes an internal
ScreenCoordinate
type from twoCGFloat
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 internalScreenCoordinate
value.Declaration
Swift
var point: CGPoint { get }