IfcTextStyleForDefinedFont

Natural language names
Textstil für definierten Schriftensatz
Text Style For Defined Font
Semantic definitions at the entity
Entity definition

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.

Attribute definitions
#AttributeTypeCardinalityDescription G
1ColourIfcColour This property describes the text color of an element (often referred to as the foreground color). X
2BackgroundColourIfcColour? This property sets the background color of an element. X
Inherited definitions from supertypes
Entity inheritance IfcPresentationItem
Attribute inheritance
#AttributeTypeCardinalityDescriptionG
IfcPresentationItem
IfcTextStyleForDefinedFont
1ColourIfcColour This property describes the text color of an element (often referred to as the foreground color). X
2BackgroundColourIfcColour? This property sets the background color of an element. X
Formal representations
XML Specification
 <xs:element name="IfcTextStyleForDefinedFont" type="ifc:IfcTextStyleForDefinedFont" substitutionGroup="ifc:IfcPresentationItem" nillable="true"/>
 <xs:complexType name="IfcTextStyleForDefinedFont">
  <xs:complexContent>
   <xs:extension base="ifc:IfcPresentationItem">
    <xs:sequence>
     <xs:element name="Colour">
      <xs:complexType>
       <xs:group ref="ifc:IfcColour"/>
      </xs:complexType>
     </xs:element>
     <xs:element name="BackgroundColour" nillable="true" minOccurs="0">
      <xs:complexType>
       <xs:group ref="ifc:IfcColour"/>
      </xs:complexType>
     </xs:element>
    </xs:sequence>
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>
EXPRESS Specification
ENTITY IfcTextStyleForDefinedFont
 SUBTYPE OF (IfcPresentationItem);
  Colour : IfcColour;
  BackgroundColour : OPTIONAL IfcColour;
END_ENTITY;

Link to EXPRESS-G diagram EXPRESS-G diagram

References  References: IfcTextStyle

Link to this page  Link to this page