LuciadCPillar 2024.1.05
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
luciad::FontConfig Class Referencefinal

A class holding the configuration of a font. More...

#include <luciad/text/Fonts.h>

Classes

class  Builder
 This builder allows you to create a FontConfig instance that can be registered using Fonts::registerFont. More...
 

Public Member Functions

const std::string & getFontName () const
 Returns the name of the font. More...
 

Static Public Member Functions

static Builder newBuilder ()
 Creates a FontBuilder which can be used to specify more complex fonts. More...
 

Detailed Description

A class holding the configuration of a font.

It must first be registered before it can be used.

Since
2024.1

Member Function Documentation

◆ getFontName()

const std::string & luciad::FontConfig::getFontName ( ) const

Returns the name of the font.

Returns
The name of the font.

◆ newBuilder()

static Builder luciad::FontConfig::newBuilder ( )
static

Creates a FontBuilder which can be used to specify more complex fonts.

Returns
A FontBuilder.