Object

Border

The object for setting borders for component sides or tables.

Properties

Defines the stroke properties of the border. Stroke properties cannot be set for each side; the border can only be disabled or enabled for each side.

bottom
boolean

Indicates whether the border should be applied to the bottom.

left
boolean

Indicates whether the border should be applied to the left side.

right
boolean

Indicates whether the border should be applied to the right side.

top
boolean

Indicates whether the border should be applied to the top.

Discussion

The Border object defines a component or a table cell border, including the border stroke style. The border style is the same for all sides of the component or table cell. Use a value of false for any side of a border that you do not want to show.

This object can be used in ComponentStyle, TableCellStyle, and ConditionalTableCellStyle.

Example

{ "componentStyles": { "exampleComponentStyle": { "border": { "all": { "width": 1, "color": "#ddd" }, "left": false, "right": false } } }}

See Also

Component Style Basics

Defining a Component Style

Set style options for the components in your article.

object ComponentStyle

The object for setting style properties for components, including background color and fill, borders, and table styles.

object CornerMask

The object for creating rounded corners.

object StrokeStyle

The object for defining the color, width, and style of a border or divider.