Polotno Docs

Element

Documentation for the Element schema definition in the Polotno Design JSON Schema.

Element

Type Information

Base Type: object

Properties

No properties defined.

JSON Schema

{
  "anyOf": [
    {
      "$ref": "#/definitions/TextElement"
    },
    {
      "$ref": "#/definitions/ImageElement"
    },
    {
      "$ref": "#/definitions/SVGElement"
    },
    {
      "$ref": "#/definitions/LineElement"
    },
    {
      "$ref": "#/definitions/VideoElement"
    },
    {
      "$ref": "#/definitions/FigureElement"
    },
    {
      "$ref": "#/definitions/GifElement"
    },
    {
      "$ref": "#/definitions/GroupElement"
    }
  ]
}