borderSchema
constborderSchema:object
Defined in: packages/node-border/src/types.ts:29
Schema for the border layer.
Each border in the array specifies:
- size: Border thickness (number or attribute reference)
- color: Border color (CSS color or attribute reference)
- mode: How to interpret size (“relative” = fraction of shape, “pixels” = screen pixels)
- fill: If true, this border fills remaining space (size is ignored)
Type Declaration
borders
readonlyborders:ArrayPropertySchema<{color:PropertySchema<string,"color",true>;fill:PropertySchema<boolean,"boolean",false>;mode:PropertySchema<"relative"|"pixels",EnumPropertyType<"relative"|"pixels">,boolean>;size:PropertySchema<number,"number",true>; }>