xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Public Member Functions | Protected Member Functions | List of all members
xtd::drawing::text::font_collection Class Reference

Provides a base class for installed and private font collections. More...

#include <font_collection.h>

Inheritance diagram for xtd::drawing::text::font_collection:
Inheritance graph
[legend]

Public Member Functions

const std::vector< font_family > & families () const
 Gets the array of FontFamily objects associated with this FontCollection. More...
 

Protected Member Functions

 font_collection ()
 Initialise new instance of font_collection class. More...
 

Detailed Description

Provides a base class for installed and private font collections.

Library
xtd.drawing
Remarks
The xtd::drawing::text::font_collection allows you to get a list of the font families contained in the collection with its families property. For additional information on fonts and text, including example code, see Using fonts and text.

Constructor & Destructor Documentation

◆ font_collection()

xtd::drawing::text::font_collection::font_collection ( )
inlineprotected

Initialise new instance of font_collection class.

Member Function Documentation

◆ families()

const std::vector<font_family>& xtd::drawing::text::font_collection::families ( ) const
inline

Gets the array of FontFamily objects associated with this FontCollection.

Returns
Array<FontFamily> An array of FontFamily objects.

The documentation for this class was generated from the following file: