Polotno Docs

Font

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

Font

Type Information

Base Type: object

Properties

PropertyTypeDescription
fontFamilystringFont family name.
stylesunknownFont style variants (weight, style, etc.).
urlstringURL to load the font from.

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "fontFamily": {
      "description": "Font family name.",
      "type": "string"
    },
    "styles": {
      "description": "Font style variants (weight, style, etc.)."
    },
    "url": {
      "description": "URL to load the font from.",
      "type": "string"
    }
  },
  "required": [
    "fontFamily"
  ],
  "type": "object"
}

No related definitions found.