FontExtensions
Inheritance: java.lang.Object
public final class FontExtensions
Contient des méthodes d’extension pour la classe Imaging.Font.
Méthodes
| Méthode | Description |
|---|---|
| toGdiFont(Font font) | Convertit le Imaging.Font en System.Drawing.Font. |
| toGdiFont(Font font, int fontUnit) | Convertit le Font en System.Drawing.Font. |
toGdiFont(Font font)
public static Font toGdiFont(Font font)
Convertit le Imaging.Font en System.Drawing.Font.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| font | Font | Le Imaging.Font à convertir. |
Returns:
Font - The converted System.Drawing.Font.
toGdiFont(Font font, int fontUnit)
public static Font toGdiFont(Font font, int fontUnit)
Convertit le Font en System.Drawing.Font.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| font | Font | Le Font à convertir. |
| fontUnit | int | Nouvelle unité graphique |
Returns:
Font - The converted System.Drawing.Font.