8.12.3.36 IfcTextStyle(文本样式)
RV ⓘ
AbV ⓘ
8.12.3.36.1 语义定义(Semantic definition)
IfcTextStyle 是一种用于在模型空间中放置文本的注释呈现样式。该样式为分配给 IfcTextLiteral 的呈现信息提供文本样式定义,通过颜色、文本字体特性和文本框特性进行样式描述。
IfcTextStyle 通过以下要素实例化:
- TextCharacterAppearance:IfcTextStyleForDefinedFont
- TextStyle:IfcTextStyleTextModel
- TextFontStyle:IfcTextStyleFontModel
IfcTextStyle 通过 IfcStyledItem 实体分配给 IfcTextLiteral。
8.12.3.36.2 实体继承(Entity inheritance)
8.12.3.36.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcPresentationStyle (1) | |||
| 1 | Name | OPTIONAL IfcLabel |
表现样式的名称。 |
| 点击显示 1 个隐藏的继承特性 点击隐藏 1 个继承特性 | |||
| IfcTextStyle (4) | |||
| 2 | TextCharacterAppearance | OPTIONAL IfcTextStyleForDefinedFont |
用于呈现文本的字符样式。 |
| 3 | TextStyle | OPTIONAL IfcTextStyleTextModel |
应用于文本块视觉外观的样式。 |
| 4 | TextFontStyle | IfcTextFontSelect |
应用于文本字体视觉外观的样式。用于定义字体系列、字体样式、字重和字号。
|
| 5 | ModelOrDraughting | OPTIONAL IfcBoolean |
指示为呈现样式提供的长度度量是基于模型还是基于制图。 |
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;