Design Format
CellBorders
Per-side border overrides for this cell.
Per-side border overrides for this cell.
Type Information
Base Type: object
Properties
| Property | Type | Description |
|---|---|---|
top | BorderSide | Top border override for this cell. |
right | BorderSide | Right border override for this cell. |
bottom | BorderSide | Bottom border override for this cell. |
left | BorderSide | Left border override for this cell. |
JSON Schema
{
"description": "Per-side border overrides for this cell.",
"type": "object",
"properties": {
"top": {
"description": "Top border override for this cell.",
"type": "object",
"properties": {
"color": {
"description": "Border color for this side.",
"type": "string"
},
"width": {
"description": "Border width in pixels for this side.",
"type": "number"
},
"style": {
"description": "Border style for this side.",
"type": "string",
"enum": [
"solid",
"dashed",
"dotted",
"none"
]
}
}
},
"right": {
"description": "Right border override for this cell.",
"type": "object",
"properties": {
"color": {
"description": "Border color for this side.",
"type": "string"
},
"width": {
"description": "Border width in pixels for this side.",
"type": "number"
},
"style": {
"description": "Border style for this side.",
"type": "string",
"enum": [
"solid",
"dashed",
"dotted",
"none"
]
}
}
},
"bottom": {
"description": "Bottom border override for this cell.",
"type": "object",
"properties": {
"color": {
"description": "Border color for this side.",
"type": "string"
},
"width": {
"description": "Border width in pixels for this side.",
"type": "number"
},
"style": {
"description": "Border style for this side.",
"type": "string",
"enum": [
"solid",
"dashed",
"dotted",
"none"
]
}
}
},
"left": {
"description": "Left border override for this cell.",
"type": "object",
"properties": {
"color": {
"description": "Border color for this side.",
"type": "string"
},
"width": {
"description": "Border width in pixels for this side.",
"type": "number"
},
"style": {
"description": "Border style for this side.",
"type": "string",
"enum": [
"solid",
"dashed",
"dotted",
"none"
]
}
}
}
}
}