C# Class Nexus.UI.FontSetGroup

A group of FontSets.
Datei anzeigen Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
AddFontSet ( string p_strName, FontSet p_fstSet ) : void

Adds the given FontSet to the group.

This replaces any previous FontSet with the same name.

FontSetGroup ( ) : System

The default constructor.

FontSetGroup ( FontSet p_fstDefault ) : System

A simple constructor that initializes the object with the given values.

GetFontSet ( string p_strName ) : FontSet

Gets the requested FontSet.

HasFontSet ( string p_strName ) : bool

Determines if the group contains the specified FontSet.

RemoveFontSet ( string p_strName ) : void

Removes the specified FontSet from the group.

Method Details

AddFontSet() public method

Adds the given FontSet to the group.
This replaces any previous FontSet with the same name.
public AddFontSet ( string p_strName, FontSet p_fstSet ) : void
p_strName string The name of the .
p_fstSet FontSet The .
return void

FontSetGroup() public method

The default constructor.
public FontSetGroup ( ) : System
return System

FontSetGroup() public method

A simple constructor that initializes the object with the given values.
public FontSetGroup ( FontSet p_fstDefault ) : System
p_fstDefault FontSet The default for the group.
return System

GetFontSet() public method

Gets the requested FontSet.
public GetFontSet ( string p_strName ) : FontSet
p_strName string The name of the to retrieve from the group.
return FontSet

HasFontSet() public method

Determines if the group contains the specified FontSet.
public HasFontSet ( string p_strName ) : bool
p_strName string The name of the whose existence the group is to be checked.
return bool

RemoveFontSet() public method

Removes the specified FontSet from the group.
public RemoveFontSet ( string p_strName ) : void
p_strName string The name of the to remove.
return void