Class
Overview
The Tin object is the central controller object that holds the current state of the graphics context.
Properties
Will drawing operations fill their shape?
Count of update method calls. This value starts at 0 at application launch, and continues to increase by 1 everytime the update method is called.
height of the view.
Horizontal mid point coordinate for the view.
Vertical mid point coordinate for the view.
Current x-axis coordinate for the position of the mouse pointer.
Current y-axis coordinate for the position of the mouse pointer.
X-axis coordinate for the position of the mouse pointer at the previous update frame.
Y-axis coordinate for the position of the mouse pointer at the previous update frame.
Size structure describing the width and height of the view.
Will drawing operations stroke the outline path of their shape?
width of the view.
Creating an Instance
Your application will use just one instance of a Tin object, and the creation of that object happens automatically, you don't need to call an initializer. Instead, you can reference the global variable tin.
Related