pub.leaflet.pages.canvas

leaflet.pub

Documentation

main object

No description available.

Properties

blocks array of ref#block Required

No description available.

id string Optional

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "blocks"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "blocks": {
      "type": "array",
      "items": {
        "ref": "#block",
        "type": "ref"
      }
    }
  }
}
block object

No description available.

Properties

height integer Optional

No description available.

rotation integer Optional

The rotation of the block in degrees

width integer Required

No description available.

x integer Required

No description available.

y integer Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "block",
    "x",
    "y",
    "width"
  ],
  "properties": {
    "x": {
      "type": "integer"
    },
    "y": {
      "type": "integer"
    },
    "block": {
      "refs": [
        "pub.leaflet.blocks.iframe",
        "pub.leaflet.blocks.text",
        "pub.leaflet.blocks.blockquote",
        "pub.leaflet.blocks.header",
        "pub.leaflet.blocks.image",
        "pub.leaflet.blocks.unorderedList",
        "pub.leaflet.blocks.website",
        "pub.leaflet.blocks.math",
        "pub.leaflet.blocks.code",
        "pub.leaflet.blocks.horizontalRule",
        "pub.leaflet.blocks.bskyPost",
        "pub.leaflet.blocks.page",
        "pub.leaflet.blocks.poll",
        "pub.leaflet.blocks.button"
      ],
      "type": "union"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "rotation": {
      "type": "integer",
      "description": "The rotation of the block in degrees"
    }
  }
}
position object

No description available.

Properties

block array of integer Required

No description available.

offset integer Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "block",
    "offset"
  ],
  "properties": {
    "block": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "offset": {
      "type": "integer"
    }
  }
}
quote object

No description available.

Properties

end ref #position Required

No description available.

start ref #position Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "start",
    "end"
  ],
  "properties": {
    "end": {
      "ref": "#position",
      "type": "ref"
    },
    "start": {
      "ref": "#position",
      "type": "ref"
    }
  }
}
textAlignCenter token

No description available.

Referencepub.leaflet.pages.canvas#textAlignCenter

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "type": "token"
}
textAlignLeft token

No description available.

Referencepub.leaflet.pages.canvas#textAlignLeft

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "type": "token"
}
textAlignRight token

No description available.

Referencepub.leaflet.pages.canvas#textAlignRight

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "type": "token"
}

Lexicon Garden

@