FontExtensions
Inheritance: java.lang.Object
public final class FontExtensions
Innehåller utökningsmetoder för Imaging.Font‑klassen.
Metoder
| Metod | Beskrivning |
|---|---|
| toGdiFont(Font font) | Konverterar Imaging.Font till System.Drawing.Font. |
| toGdiFont(Font font, int fontUnit) | Konverterar Font till System.Drawing.Font. |
toGdiFont(Font font)
public static Font toGdiFont(Font font)
Konverterar Imaging.Font till System.Drawing.Font.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| font | Font | Den Imaging.Font att konvertera. |
Returns:
Font - The converted System.Drawing.Font.
toGdiFont(Font font, int fontUnit)
public static Font toGdiFont(Font font, int fontUnit)
Konverterar Font till System.Drawing.Font.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| font | Font | Den Font att konvertera. |
| fontUnit | int | Ny grafik-enhet |
Returns:
Font - The converted System.Drawing.Font.