September 2019
Beginner
512 pages
12h 52m
English
All operations we do on Canvas, such as drawing a line or a rectangle, are oriented in a coordinate system, just like any other UI drawing system. This coordinate system has an origin. By default, this is defined by the CustomPaint widget that owns Canvas. The important thing to note is that, because of this characteristic, all of the operations we do on Canvas are affected by its current transformation. Whenever we want, we can transform the canvas to affect the subsequent operations.
Read now
Unlock full access