public class FontImpl extends AbstractFontAdv
SFont.Boldweight, SFont.TypeOffset, SFont.Underline
Modifier and Type | Field and Description |
---|---|
static SFont |
BLANK_FONT |
static String |
FORMAT_GENERAL |
Constructor and Description |
---|
FontImpl() |
FontImpl(String fontColor,
boolean bold,
boolean fontItalic,
boolean fontStrikeout,
SFont.Underline fontUnderline) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(SFont src) |
boolean |
equals(Object other) |
SFont.Boldweight |
getBoldweight() |
SColor |
getColor() |
int |
getHeightPoints() |
String |
getName() |
SFont.TypeOffset |
getTypeOffset() |
SFont.Underline |
getUnderline() |
int |
hashCode() |
boolean |
isItalic() |
boolean |
isOverrideBold() |
boolean |
isOverrideColor() |
boolean |
isOverrideHeightPoints() |
boolean |
isOverrideItalic() |
boolean |
isOverrideName() |
boolean |
isOverrideStrikeout() |
boolean |
isOverrideTypeOffset() |
boolean |
isOverrideUnderline() |
boolean |
isStrikeout() |
void |
setBoldweight(SFont.Boldweight fontBoldweight) |
void |
setColor(SColor fontColor) |
void |
setHeightPoints(int fontHeightPoint) |
void |
setItalic(boolean fontItalic) |
void |
setName(String fontName) |
void |
setOverrideBold(boolean overrideBold) |
void |
setOverrideColor(boolean overrideColor) |
void |
setOverrideHeightPoints(boolean overrideHeightPoints) |
void |
setOverrideItalic(boolean overrideItalic) |
void |
setOverrideName(boolean overrideName) |
void |
setOverrideStrikeout(boolean overrideStrikeout) |
void |
setOverrideTypeOffset(boolean overrideTypeOffset) |
void |
setOverrideUnderline(boolean overrideUnderline) |
void |
setStrikeout(boolean fontStrikeout) |
void |
setTypeOffset(SFont.TypeOffset fontTypeOffset) |
void |
setUnderline(SFont.Underline fontUnderline) |
public static final String FORMAT_GENERAL
public static final SFont BLANK_FONT
public FontImpl()
public FontImpl(String fontColor, boolean bold, boolean fontItalic, boolean fontStrikeout, SFont.Underline fontUnderline)
public String getName()
public void setName(String fontName)
public SColor getColor()
public void setColor(SColor fontColor)
public SFont.Boldweight getBoldweight()
public void setBoldweight(SFont.Boldweight fontBoldweight)
public int getHeightPoints()
public void setHeightPoints(int fontHeightPoint)
public boolean isItalic()
public void setItalic(boolean fontItalic)
public boolean isStrikeout()
public void setStrikeout(boolean fontStrikeout)
public SFont.TypeOffset getTypeOffset()
public void setTypeOffset(SFont.TypeOffset fontTypeOffset)
public SFont.Underline getUnderline()
public void setUnderline(SFont.Underline fontUnderline)
public void copyFrom(SFont src)
public void setOverrideName(boolean overrideName)
setOverrideName
in class AbstractFontAdv
public void setOverrideColor(boolean overrideColor)
setOverrideColor
in class AbstractFontAdv
public void setOverrideBold(boolean overrideBold)
setOverrideBold
in class AbstractFontAdv
public void setOverrideItalic(boolean overrideItalic)
setOverrideItalic
in class AbstractFontAdv
public void setOverrideStrikeout(boolean overrideStrikeout)
setOverrideStrikeout
in class AbstractFontAdv
public void setOverrideUnderline(boolean overrideUnderline)
setOverrideUnderline
in class AbstractFontAdv
public void setOverrideHeightPoints(boolean overrideHeightPoints)
setOverrideHeightPoints
in class AbstractFontAdv
public void setOverrideTypeOffset(boolean overrideTypeOffset)
setOverrideTypeOffset
in class AbstractFontAdv
public boolean isOverrideName()
isOverrideName
in class AbstractFontAdv
public boolean isOverrideColor()
isOverrideColor
in class AbstractFontAdv
public boolean isOverrideBold()
isOverrideBold
in class AbstractFontAdv
public boolean isOverrideItalic()
isOverrideItalic
in class AbstractFontAdv
public boolean isOverrideStrikeout()
isOverrideStrikeout
in class AbstractFontAdv
public boolean isOverrideUnderline()
isOverrideUnderline
in class AbstractFontAdv
public boolean isOverrideHeightPoints()
isOverrideHeightPoints
in class AbstractFontAdv
public boolean isOverrideTypeOffset()
isOverrideTypeOffset
in class AbstractFontAdv
Copyright © 2020. All rights reserved.