Polotno Docs

BorderSide

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

BorderSide

Type Information

Base Type: object

Properties

PropertyTypeDescription
colorstringBorder color (CSS color string). Inherits from table borderColor if omitted.
style"solid" | "dashed" | "dotted" | "none"Border line style. Inherits from table borderStyle if omitted.
widthnumberBorder width in pixels. Inherits from table borderWidth if omitted.

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "color": {
      "description": "Border color (CSS color string). Inherits from table borderColor if omitted.",
      "type": "string"
    },
    "style": {
      "description": "Border line style. Inherits from table borderStyle if omitted.",
      "enum": [
        "solid",
        "dashed",
        "dotted",
        "none"
      ],
      "type": "string"
    },
    "width": {
      "description": "Border width in pixels. Inherits from table borderWidth if omitted.",
      "type": "number"
    }
  },
  "type": "object"
}

No related definitions found.

On this page