Adobe Illustrator · Schema

LayerCreate

LayerCreate from Adobe Illustrator API

Creative CloudDesignIllustratorVector Graphics

Properties

Name Type Description
name string Name of the layer.
visible boolean Whether the layer is visible.
locked boolean Whether the layer is locked.
printable boolean Whether the layer is printable.
preview boolean Whether the layer is in preview mode.
opacity number Layer opacity as a percentage (0-100).
blendingMode string Blending mode for the layer.
color string Layer highlight color.
View JSON Schema on GitHub

JSON Schema

adobe-illustrator-scripting-layer-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-schema/adobe-illustrator-scripting-layer-create-schema.json",
  "title": "LayerCreate",
  "description": "LayerCreate from Adobe Illustrator API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the layer.",
      "example": "Example Artboard"
    },
    "visible": {
      "type": "boolean",
      "description": "Whether the layer is visible.",
      "default": true,
      "example": true
    },
    "locked": {
      "type": "boolean",
      "description": "Whether the layer is locked.",
      "default": false,
      "example": true
    },
    "printable": {
      "type": "boolean",
      "description": "Whether the layer is printable.",
      "default": true,
      "example": true
    },
    "preview": {
      "type": "boolean",
      "description": "Whether the layer is in preview mode.",
      "default": true,
      "example": true
    },
    "opacity": {
      "type": "number",
      "description": "Layer opacity as a percentage (0-100).",
      "minimum": 0,
      "maximum": 100,
      "default": 100,
      "example": 72.0
    },
    "blendingMode": {
      "type": "string",
      "description": "Blending mode for the layer.",
      "enum": [
        "Normal",
        "Multiply",
        "Screen",
        "Overlay"
      ],
      "default": "Normal",
      "example": "Normal"
    },
    "color": {
      "type": "string",
      "description": "Layer highlight color.",
      "enum": [
        "Red",
        "Orange",
        "Yellow",
        "Green",
        "Blue",
        "Violet"
      ],
      "example": "Red"
    }
  }
}