8.12.3.36 IfcTextStyle
8.12.3.36.1 Semantic definition
The IfcTextStyle is a presentation style for annotations that place a text in model space. The IfcTextStyle provides the text style for presentation information assigned to IfcTextLiteral's. The style is defined by color, text font characteristics, and text box characteristics.
An IfcTextStyle is instantiated with:
- TextCharacterAppearance: IfcTextStyleForDefinedFont
- TextStyle: IfcTextStyleTextModel
- TextFontStyle: IfcTextStyleFontModel
An IfcTextStyle is assigned to IfcTextLiteral through the IfcStyledItem entity.
Entity adopted from font properties (font-family, font-style, font-variant, font-weight, font-size), Color and background properties (color, background-color) and text properties (word-spacing, letter-spacing, text-decoration, text-transform, text-align, text-indent, line-height) defined in CSS-1. New entity in IFC2x2. The IfcTextStyle has been changed by adding TextFontStyle and different data types for TextStyle and IfcTextCharacterAppearance. The IfcTextStyle has been simplified by removing old vector based text style definitions.8.12.3.36.2 Entity inheritance
8.12.3.36.3 Attributes
# | Attribute | Type | Description |
---|---|---|---|
IfcPresentationStyle (1) | |||
1 | Name | OPTIONAL IfcLabel |
Name of the presentation style. |
Click to show 1 hidden inherited attributes Click to hide 1 inherited attributes | |||
IfcTextStyle (4) | |||
2 | TextCharacterAppearance | OPTIONAL IfcTextStyleForDefinedFont |
A character style to be used for presented text. Superfluous select type IfcCharacterStyleSelect has been removed. |
3 | TextStyle | OPTIONAL IfcTextStyleTextModel |
The style applied to the text block for its visual appearance. The attribute TextBlockStyle has been changed from SET[1:?] to a non-aggregated optional and renamed into TextStyles. The IfcTextStyleWithBoxCharacteristics and the now superfluous select type IfcTextStyleSelect have been removed. |
4 | TextFontStyle | IfcTextFontSelect |
The style applied to the text font for its visual appearance. It defines the font family, font style, weight and size. CHANGE The attribute TextFontStyle is a new attribute attached to IfcTextStyle. |
5 | ModelOrDraughting | OPTIONAL IfcBoolean |
Indication whether the length measures provided for the presentation style are model based, or draughting based. New attribute. |
8.12.3.36.4 Formal representation
ENTITY IfcTextStyle
SUBTYPE OF (IfcPresentationStyle);
TextCharacterAppearance : OPTIONAL IfcTextStyleForDefinedFont;
TextStyle : OPTIONAL IfcTextStyleTextModel;
TextFontStyle : IfcTextFontSelect;
ModelOrDraughting : OPTIONAL IfcBoolean;
END_ENTITY;