OptionalcolorOptionalhatchOptional per-polygon hatch. When present, overrides the upload's capStyle hatch fields for this polygon only. Absent ⇒ unchanged (capStyle applies).
OptionalangleRad?: numberDefaults to capStyle.angleRad.
Same ids as Section2DOverlayCapStyle.patternId (0 = none).
OptionalsecondaryAngleRad?: numberDefaults to capStyle.secondaryAngleRad.
OptionalspacingPx?: numberDefaults to capStyle.spacingPx.
OptionalstrokeColor?: [number, number, number, number]Hatch line colour (RGBA 0–1); defaults to capStyle.strokeColor.
OptionalwidthPx?: numberDefaults to capStyle.widthPx.
OptionalmodelModel the element belongs to in a federation; scopes CapHighlight entries. Absent ⇒ matched by id alone.
Optional per-polygon RGBA (0–1). When present, this cap polygon fills with this colour (an
IfcMaterialLayerSetwall/slab layer, or a frame+glass window part) instead of the uniform cap fill. Absent ⇒ uniform cap style + per-ifcTypefallback, unchanged.