Google Slides · Schema

AffineTransform

A 3x3 matrix that represents an affine transformation. The matrix maps a source coordinate (x, y) to a destination coordinate (x', y') according to matrix multiplication.

CollaborationGoogle WorkspacePresentationsProductivitySlides

Properties

Name Type Description
scaleX number The X coordinate scaling element.
scaleY number The Y coordinate scaling element.
shearX number The X coordinate shearing element.
shearY number The Y coordinate shearing element.
translateX number The X coordinate translation element.
translateY number The Y coordinate translation element.
unit string The units for translate elements.
View JSON Schema on GitHub

JSON Schema

google-slides-affine-transform-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AffineTransform",
  "type": "object",
  "description": "A 3x3 matrix that represents an affine transformation. The matrix maps a source coordinate (x, y) to a destination coordinate (x', y') according to matrix multiplication.\n",
  "properties": {
    "scaleX": {
      "type": "number",
      "description": "The X coordinate scaling element."
    },
    "scaleY": {
      "type": "number",
      "description": "The Y coordinate scaling element."
    },
    "shearX": {
      "type": "number",
      "description": "The X coordinate shearing element."
    },
    "shearY": {
      "type": "number",
      "description": "The Y coordinate shearing element."
    },
    "translateX": {
      "type": "number",
      "description": "The X coordinate translation element."
    },
    "translateY": {
      "type": "number",
      "description": "The Y coordinate translation element."
    },
    "unit": {
      "type": "string",
      "description": "The units for translate elements."
    }
  }
}