FontExtensions
Inheritance: java.lang.Object
public final class FontExtensions
Contains extension methods for the Imaging.Font
class.
Methods
Method | Description |
---|---|
toGdiFont(Font font) | Converts the Imaging.Font to the System.Drawing.Font . |
toGdiFont(Font font, int fontUnit) | Converts the Font to the System.Drawing.Font . |
toGdiFont(Font font)
public static Font toGdiFont(Font font)
Converts the Imaging.Font
to the System.Drawing.Font
.
Parameters:
Parameter | Type | Description |
---|---|---|
font | Font | The Imaging.Font to convert. |
Returns:
Font - The converted System.Drawing.Font
.
toGdiFont(Font font, int fontUnit)
public static Font toGdiFont(Font font, int fontUnit)
Converts the Font
to the System.Drawing.Font
.
Parameters:
Parameter | Type | Description |
---|---|---|
font | Font | The Font to convert. |
fontUnit | int | New graphics unit |
Returns:
Font - The converted System.Drawing.Font
.