Class Ifc4x3_rc1::IfcTextStyleForDefinedFont

Nested Relationships

This class is a nested type of Struct Ifc4x3_rc1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x3_rc1::IfcTextStyleForDefinedFont : public Ifc4x3_rc1::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 Functions

::Ifc4x3_rc1::IfcColour *Colour() const

This property describes the text color of an element (often referred to as the foreground color).

void setColour(::Ifc4x3_rc1::IfcColour *v)
bool hasBackgroundColour() const

Whether the optional attribute BackgroundColour is defined for this IfcTextStyleForDefinedFont.

::Ifc4x3_rc1::IfcColour *BackgroundColour() const

This property sets the background color of an element.

void setBackgroundColour(::Ifc4x3_rc1::IfcColour *v)
const IfcParse::entity &declaration() const
IfcTextStyleForDefinedFont(IfcEntityInstanceData *e)
IfcTextStyleForDefinedFont(::Ifc4x3_rc1::IfcColour *v1_Colour, ::Ifc4x3_rc1::IfcColour *v2_BackgroundColour)

Public Static Functions

const IfcParse::entity &Class()