8.12.3.38 IfcTextStyleForDefinedFont(已定义字体文本样式)
RV ⓘ
AbV ⓘ
8.12.3.38.1 语义定义(Semantic definition)
IfcTextStyleForDefinedFont(已定义字体文本样式)将文本字体颜色与可选的背景颜色相结合,该背景颜色填充由文本字面量给定的平面范围所定义的文本框。
根据W3C对层叠样式表的定义: 这些属性描述了元素的颜色(通常称为前景色)和背景(即内容渲染所依托的表面)。可以设置背景颜色。
IFC2x3变更:已添加_IfcTextStyleForDefinedFont_并替代了_IfcCharacterStyleSelect_中的_IfcColour_。
8.12.3.38.2 实体继承(Entity inheritance)
-
- IfcTextStyleForDefinedFont
- IfcColourRgbList
- IfcColourSpecification
- IfcCurveStyleFont
- IfcCurveStyleFontAndScaling
- IfcCurveStyleFontPattern
- IfcIndexedColourMap
- IfcPreDefinedItem
- IfcSurfaceStyleLighting
- IfcSurfaceStyleRefraction
- IfcSurfaceStyleShading
- IfcSurfaceStyleWithTextures
- IfcSurfaceTexture
- IfcTextStyleTextModel
- IfcTextureCoordinate
- IfcTextureVertex
- IfcTextureVertexList
8.12.3.38.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcTextStyleForDefinedFont (2) | |||
| 1 | Colour | IfcColour |
此属性描述元素的文本颜色(通常称为前景色)。 |
| 2 | BackgroundColour | OPTIONAL IfcColour |
此属性设置元素的背景颜色。 |
8.12.3.38.4 形式化表示(Formal representation)
ENTITY IfcTextStyleForDefinedFont
SUBTYPE OF (IfcPresentationItem);
Colour : IfcColour;
BackgroundColour : OPTIONAL IfcColour;
END_ENTITY;