com.stimulsoft.base.utils
Class StiFontHelper
java.lang.Object
com.stimulsoft.base.utils.StiFontHelper
public class StiFontHelper
- extends Object
Font helper class
Copyright Stimulsoft
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiFontHelper
public StiFontHelper()
getFontData
public static byte[] getFontData(Font font)
throws IOException,
IllegalArgumentException,
SecurityException,
IllegalAccessException,
NoSuchFieldException
- Get font file in byte array
- Parameters:
font - Font
- Returns:
- Byte array font file
- Throws:
IOException
IllegalArgumentException
SecurityException
IllegalAccessException
NoSuchFieldException
getFontFile
public static File getFontFile(Font font)
throws IllegalArgumentException,
IllegalAccessException,
SecurityException,
NoSuchFieldException
- Get fon
File
- Parameters:
font - Font
- Returns:
- Font
File
- Throws:
IllegalArgumentException
IllegalAccessException
SecurityException
NoSuchFieldException
Copyright © 2017 Stimulsoft. All Rights Reserved.