- [Narrator] The last transform type we're going…to take a look at is the custom transform.…In addition to the transforms that are built into…the canvas such as scale and translate,…you can also define your own.…These custom transforms are defined as a matrix…of values and it has the format that you see here.…This transform matrix is then applied to drawing…operations on the canvas.…Now, you don't need to panic here.…I'm not going to make you learn matrix math,…but this feature does come in handy when you want to…apply a transformation that is not built into…the canvas.…
So, we'll some examples of how to do that in a moment,…but the way that you apply a custom transform is by…using one of the two transform functions.…The first one is simply called transform and it…takes these six arguments which correspond to…the variables you see in the matrix.…The transform function takes the transform you're…defining and adds it to whatever the transform…of the canvas currently is because,…remember,…transforms are additive.…
- Canvas examples
- Drawing shapes, arcs, paths, and curves
- Drawing text
- Drawing shadows, patterns, and gradients
- Using clipping paths
- Displaying images and video
- Transforming objects with scaling and rotation
- Manipulating raw pixels
- Applying transitions
- Creating animations
Skill Level Intermediate
1. Overview of Canvas
2. Basic Canvas Drawing Techniques
3. Complex Canvas Drawing
4. Advanced Drawing APIs
5. Practical Examples
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.