struct LayoutPoint
Type that contains the position and timestamp of a typing interaction of the user in a keyboard.
Initializers | |
---|---|
LayoutPoint(point: CGPoint, timestamp: TimeInterval) | |
LayoutPoint(x: CGFloat, y: CGFloat, timestamp: TimeInterval) |
Properties | |
---|---|
TimeInterval |
timestamp The timestamp of the interaction. |
CGFloat |
x The x coordinate of the interaction. |
CGFloat |
y The y coordinate of the interaction. |
init(point: CGPoint, timestamp: TimeInterval)
Parameters | |
---|---|
point: CGPoint | The x coordinate of the interaction. |
timestamp: TimeInterval | The timestamp of the interaction. |
init(x: CGFloat, y: CGFloat, timestamp: TimeInterval)
Parameters | |
---|---|
x: Float | The x coordinate of the interaction. |
y: Float | The y coordinate of the interaction. |
timestamp: TimeInterval | The timestamp of the interaction. |
let timestamp: TimeInterval
The timestamp of the interaction.
let x: CGFloat
The x coordinate of the interaction.
let y: CGFloat
The y coordinate of the interaction.