C# Class Nexus.UI.FontSetGroup

A group of FontSets.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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 .
Résultat void

FontSetGroup() public méthode

The default constructor.
public FontSetGroup ( ) : System
Résultat System

FontSetGroup() public méthode

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.
Résultat System

GetFontSet() public méthode

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

HasFontSet() public méthode

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.
Résultat bool

RemoveFontSet() public méthode

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