Textstil für definierten Schriftensatz | |
Text Style For Defined Font |
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 | Type | Cardinality | Description | G |
---|---|---|---|---|---|
IfcPresentationItem | |||||
IfcTextStyleForDefinedFont | |||||
1 | Colour | IfcColour | This property describes the text color of an element (often referred to as the foreground color). | X | |
2 | BackgroundColour | IfcColour | ? | This property sets the background color of an element. | X |
<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>
ENTITY IfcTextStyleForDefinedFont
SUBTYPE OF (IfcPresentationItem);
Colour : IfcColour;
BackgroundColour : OPTIONAL IfcColour;
END_ENTITY;
References: IfcTextStyle