Adobe Illustrator · JSON Structure

Adobe Illustrator Scripting Path Point Structure

PathPoint from Adobe Illustrator API

Type: object Properties: 4 Required: 1
Creative CloudDesignIllustratorVector Graphics

PathPoint is a JSON Structure definition published by Adobe Illustrator, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

anchor leftDirection rightDirection pointType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-structure/adobe-illustrator-scripting-path-point-structure.json",
  "name": "PathPoint",
  "description": "PathPoint from Adobe Illustrator API",
  "type": "object",
  "properties": {
    "anchor": {
      "type": "array",
      "description": "Anchor point coordinates [x, y].",
      "items": {
        "type": "double"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "leftDirection": {
      "type": "array",
      "description": "Left control handle coordinates [x, y].",
      "items": {
        "type": "double"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "rightDirection": {
      "type": "array",
      "description": "Right control handle coordinates [x, y].",
      "items": {
        "type": "double"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "pointType": {
      "type": "string",
      "description": "The type of path point.",
      "enum": [
        "Smooth",
        "Corner"
      ],
      "example": "Smooth"
    }
  },
  "required": [
    "anchor"
  ]
}