First, a simple two-dimensional (2D) transformation of two squares that both have the same transform values, but declared in a different order: To underscore how important the order of values is to the transform property, let’s take a look at a couple of quick examples. If this had been done the other way around (rotate first, then translate), then the result would have been completely different. In order to get the effect I was looking for in the previous demo, I first needed to translate the square on the X axis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |