Class Ifc4::IfcTextStyleForDefinedFont¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcPresentationItem
(Class Ifc4::IfcPresentationItem)
Class Documentation¶
-
class
Ifc4
::
IfcTextStyleForDefinedFont
: public Ifc4::IfcPresentationItem¶ Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts.
Definition from CSS1 (W3C Recommendation): 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 The CSS1 definition allows also for a background image. This has not been incorporated into IFC.
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.
NOTE Corresponding ISO 10303 name: text_style_for_defined_font. Please refer to ISO/IS 10303-46:1994, p.122 for the final definition of the formal standard. The attribute BackgroundColour has been added.
NOTE Corresponding CSS1 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.
Public Types
-
typedef IfcTemplatedEntityList<IfcTextStyleForDefinedFont>
list
¶
Public Functions
-
::Ifc4::IfcColour *
Colour
() const¶ This property describes the text color of an element (often referred to as the foreground color).
-
bool
hasBackgroundColour
() const¶ Whether the optional attribute BackgroundColour is defined for this IfcTextStyleForDefinedFont.
-
IfcTextStyleForDefinedFont
(IfcEntityInstanceData *e)¶
-
typedef IfcTemplatedEntityList<IfcTextStyleForDefinedFont>