A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/slides/affine-transform below:

Class AffineTransform | Apps Script

Class AffineTransform

Stay organized with collections Save and categorize content based on your preferences.

AffineTransform

A 3x3 matrix used to transform source coordinates (x1, y1) into destination coordinates (x2, y2) according to matrix multiplication:

[ x2 ]   [ scaleX shearX translateX ] [ x1 ]
[ y2 ] = [ shearY scaleY translateY ] [ y1 ]
[ 1  ]   [   0      0        1      ] [ 1  ]

After transformation,

x2 = scaleX * x1 + shearX * y1 + translateX;
y2 = scaleY * y1 + shearY * x1 + translateY;
Detailed documentation getScaleX()

Gets the X coordinate scaling element.

Return

Number

getScaleY()

Gets the Y coordinate scaling element.

Return

Number

getShearX()

Gets the X coordinate shearing element.

Return

Number

getShearY()

Gets the Y coordinate shearing element.

Return

Number

getTranslateX()

Gets the X coordinate translation element in points.

Return

Number

getTranslateY()

Gets the Y coordinate translation element in points.

Return

Number

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-03 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-03 UTC."],[[["AffineTransform uses a 3x3 matrix to transform 2D coordinates on a presentation slide."],["It allows for scaling, shearing, and translation operations on objects using x and y coordinates."],["The `getScaleX()`, `getScaleY()`, `getShearX()`, `getShearY()`, `getTranslateX()`, and `getTranslateY()` methods provide access to individual transformation elements."],["`toBuilder()` can be utilized for creating a new transform based on an existing one using the AffineTransformBuilder."]]],["AffineTransform uses a 3x3 matrix to convert source coordinates (x1, y1) to destination coordinates (x2, y2) via matrix multiplication, resulting in x2 = scaleX * x1 + shearX * y1 + translateX and y2 = scaleY * y1 + shearY * x1 + translateY. It provides methods to get scaling elements (getScaleX, getY), shearing elements (getShearX, getY), and translation elements (getTranslateX, getY). A toBuilder method is available to return an AffineTransformBuilder.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4