Class: Uniword::Properties::Border

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/uniword/properties/border.rb

Overview

Individual border definition

Represents a single border (top, bottom, left, right) with style, size, spacing, and color attributes. style is ST_Border, color is ST_HexColor, themeColor is ST_ThemeColor (ECMA-376).

Examples:

Creating a border

border = Border.new(
  style: "single",
  size: 4,
  space: 1,
  color: "auto"
)