Класс LineProperties
Класс LineProperties предназначен для установки таких параметров линии, как стиль, ширина, цвет (см. Рисунок).
| Поле | Тип | Описание |
|---|---|---|
LineProperties.style | LineStyle | Тип линии |
LineProperties.width | float | Толщина линии |
LineProperties.color | Color | Цвет линии |
LineProperties.headLineEndingProperties | LineEndingProperties | Тип начала линии |
LineProperties.tailLineEndingProperties | LineEndingProperties | Тип окончания линии |

Пример
Table firstSheet = document.getBlocks().getTable(0).get();
Cell cell = firstSheet.getCell("C3");
LineProperties lineProperties = LineProperties();
lineProperties.style = LineStyle::Solid;
lineProperties.width = 1.5;
lineProperties.color = Color(ColorRGBA(55, 146, 179, 200));
Borders borders = Borders();
borders.setTop(lineProperties);
cell.setBorders(borders);