IFC 4.3.x development

8.12.3.37 IfcTextStyleForDefinedFont

8.12.3.37.1 Semantic definitions at the entity

The IfcTextStyleForDefinedFont combines the text font color with an optional background color, that fills the text box, defined by the planar extent given to the text literal.

Definition according to W3C for Cascading Style Sheets:
These properties describe the color (often called foreground color) and background of an element (i.e. the surface onto which the content is rendered). One can set a background color.

NOTE  Corresponding CSS definitions are Color and background properties (color, background-color).

HISTORY  New entity in IFC2x3.

IFC2x3 CHANGE  The IfcTextStyleForDefinedFont has been added and replaces IfcColour at the IfcCharacterStyleSelect.

8.12.3.37.1 Attributes

#Attribute Type Description
IfcPresentationItem
IfcTextStyleForDefinedFont
1Colour IfcColour This property describes the text color of an element (often referred to as the foreground color).
2BackgroundColourOPTIONAL IfcColourThis property sets the background color of an element.

8.12.3.37.2 Entity inheritance

dot_inheritance IfcTextStyleForDefinedFont IfcTextStyleForDefinedFont IfcPresentationItem IfcPresentationItem IfcTextStyleForDefinedFont->IfcPresentationItem IfcPresentationItem_children 16 more... IfcPresentationItem_children->IfcPresentationItem

8.12.3.37.3 Formal representations

ENTITY IfcTextStyleForDefinedFont
 SUBTYPE OF (IfcPresentationItem);
	Colour : IfcColour;
	BackgroundColour : OPTIONAL IfcColour;
END_ENTITY;