ScreenCoordinate
public extension ScreenCoordinate
-
Initializes an internal
ScreenCoordinatetype from twoCGFloatvalues.Declaration
Swift
convenience init(x: CGFloat, y: CGFloat)Parameters
xThe horizontal point along the screen’s coordinate system.
yThe vertical point along the screen’s coordinate system.
-
Reurns a
CGPointrepresentation of an internalScreenCoordinatevalue.Declaration
Swift
var point: CGPoint { get }
ScreenCoordinate Extension Reference