FontExtensions
Inheritance: java.lang.Object
public final class FontExtensions
Содержит методы-расширения для класса Imaging.Font.
Методы
| Метод | Описание |
|---|---|
| toGdiFont(Font font) | Преобразует Imaging.Font в System.Drawing.Font. |
| toGdiFont(Font font, int fontUnit) | Преобразует Font в System.Drawing.Font. |
toGdiFont(Font font)
public static Font toGdiFont(Font font)
Преобразует Imaging.Font в System.Drawing.Font.
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| font | Font | Imaging.Font для преобразования. |
Returns:
Font - The converted System.Drawing.Font.
toGdiFont(Font font, int fontUnit)
public static Font toGdiFont(Font font, int fontUnit)
Преобразует Font в System.Drawing.Font.
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| font | Font | Font для преобразования. |
| fontUnit | int | Новая графическая единица |
Returns:
Font - The converted System.Drawing.Font.