public class XFAFont
extends com.itextpdf.text.Font
Modifier and Type | Field and Description |
---|---|
static int |
BOLD_FONT_FAMILY |
static int |
BOLD_ITALIC_FONT_FAMILY |
static int |
ITALIC_FONT_FAMILY |
static int |
STYLE_NORMAL |
static int |
WEIGHT_NORMAL |
Constructor and Description |
---|
XFAFont(com.itextpdf.text.pdf.BaseFont bf, float size, int style, com.itextpdf.text.BaseColor color, com.itextpdf.text.FontProvider fontProvider) |
XFAFont(com.itextpdf.text.pdf.BaseFont bf, float size, int style, com.itextpdf.text.FontProvider fontProvider) |
XFAFont(com.itextpdf.text.Font.FontFamily family, float size, com.itextpdf.text.FontProvider fontProvider) |
XFAFont(com.itextpdf.text.Font.FontFamily family, float size, int style, com.itextpdf.text.BaseColor color, com.itextpdf.text.FontProvider fontProvider) |
XFAFont(com.itextpdf.text.Font.FontFamily family, float size, int style, com.itextpdf.text.FontProvider fontProvider) |
Modifier and Type | Method and Description |
---|---|
com.itextpdf.text.Font |
difference(com.itextpdf.text.Font font)
Replaces the attributes that are equal to null with the attributes of a given font.
|
com.itextpdf.text.Font |
difference(com.itextpdf.text.Font font, String encoding) |
String |
toString() |
compareTo, getBaseFont, getCalculatedBaseFont, getCalculatedLeading, getCalculatedSize, getCalculatedStyle, getColor, getFamily, getFamily, getFamilyname, getSize, getStyle, getStyleValue, isBold, isItalic, isStandardFont, isStrikethru, isUnderlined, setColor, setColor, setFamily, setSize, setStyle, setStyle
public static final int BOLD_FONT_FAMILY
public static final int ITALIC_FONT_FAMILY
public static final int STYLE_NORMAL
public static final int WEIGHT_NORMAL
public static final int BOLD_ITALIC_FONT_FAMILY
public XFAFont(com.itextpdf.text.pdf.BaseFont bf, float size, int style, com.itextpdf.text.BaseColor color, com.itextpdf.text.FontProvider fontProvider)
public XFAFont(com.itextpdf.text.Font.FontFamily family, float size, int style, com.itextpdf.text.BaseColor color, com.itextpdf.text.FontProvider fontProvider)
public XFAFont(com.itextpdf.text.pdf.BaseFont bf, float size, int style, com.itextpdf.text.FontProvider fontProvider)
public XFAFont(com.itextpdf.text.Font.FontFamily family, float size, int style, com.itextpdf.text.FontProvider fontProvider)
public XFAFont(com.itextpdf.text.Font.FontFamily family, float size, com.itextpdf.text.FontProvider fontProvider)
public com.itextpdf.text.Font difference(com.itextpdf.text.Font font)
difference
in class com.itextpdf.text.Font
font
- the font of a lower element class (ex. this - paragraph font, font - chunk font)
Font
public com.itextpdf.text.Font difference(com.itextpdf.text.Font font, String encoding)
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.