Adobe 26001360 Scripting Guide - Page 264
get rotation matrix, get scale matrix, Notes, Example 93.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 264 highlights
264 AppleScript Reference get rotation matrix Returns a rotation matrix based on a specified rotation angle. Table 4.130 get rotation matrix - Parameters Parameters What it is Objects supported [angle real] The rotation angle in degrees; default: 0.0 • matrix Returns matrix Notes If no angle is supplied, the standard identity matrix is returned. Example 93.1 -- Get a 30-degree rotation matrix tell application "Illustrator CS" set rotateMatrix to get rotation matrix angle 30.0 end tell get scale matrix Returns a scale matrix based on specified horizontal and vertical scaling factor. Table 4.131 get scale matrix - Parameters Parameters What it is [horizontal scale The horizontal scaling real] factor as a percentage, where 100.0 is 100% [vertical scale real] The vertical scaling factor, where 100.0 is 100% Objects supported • matrix Returns matrix Notes If no parameters are supplied, the standard identity matrix is returned. 12 Aug 03