Package de.elo.ix.client
Class FontInfo
java.lang.Object
de.elo.ix.client.FontInfo
- All Implemented Interfaces:
Serializable
This class describes a font.
- Since:
- 7.00.000.023
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Boldprotected int
Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.protected String
Font face nameprotected int
Font heigth.protected boolean
The font height is related to the cell height of the font rather than the character heigth.protected boolean
Italicprotected int
Read-green-blue value.protected boolean
Strike outprotected boolean
Underline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getRGB()
boolean
isBold()
boolean
boolean
isItalic()
boolean
boolean
void
setBold
(boolean bold) void
setEscapement
(int escapement) void
setFaceName
(String name) void
setHeight
(int height) void
setHeightPerCell
(boolean heightPerCell) void
setItalic
(boolean italic) void
setRGB
(int rgb) void
setStrikeOut
(boolean strikeout) void
setUnderline
(boolean underline) toString()
-
Field Details
-
faceName
Font face name -
bold
protected boolean boldBold -
italic
protected boolean italicItalic -
strikeOut
protected boolean strikeOutStrike out -
underline
protected boolean underlineUnderline -
RGB
protected int RGBRead-green-blue value. On byte each color. Read is at the lowest significant byte. -
height
protected int heightFont heigth. -
heightPerCell
protected boolean heightPerCellThe font height is related to the cell height of the font rather than the character heigth. -
escapement
protected int escapementSpecifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text.
-
-
Constructor Details
-
FontInfo
public FontInfo() -
FontInfo
-
-
Method Details
-
getFaceName
-
setFaceName
-
isBold
public boolean isBold() -
setBold
public void setBold(boolean bold) -
isItalic
public boolean isItalic() -
setItalic
public void setItalic(boolean italic) -
isStrikeOut
public boolean isStrikeOut() -
setStrikeOut
public void setStrikeOut(boolean strikeout) -
isUnderline
public boolean isUnderline() -
setUnderline
public void setUnderline(boolean underline) -
getRGB
public int getRGB() -
setRGB
public void setRGB(int rgb) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
isHeightPerCell
public boolean isHeightPerCell() -
setHeightPerCell
public void setHeightPerCell(boolean heightPerCell) -
getEscapement
public int getEscapement() -
setEscapement
public void setEscapement(int escapement) -
toString
-