Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLTouchCoord Class Reference

Section Contents

Overview

The coordinate of a touch, used in a touch event

x

The x value of the touch coordinate

Required, float 0 - 10000

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLFloat> *_Nonnull x;

Swift

var x: NSNumber & SDLFloat { get set }

y

The y value of the touch coordinate

Required, float 0 - 10000

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLFloat> *_Nonnull y;

Swift

var y: NSNumber & SDLFloat { get set }
View on GitHub.com
Previous Section Next Section