public class ZebraAFontElement extends ZebraElement
defaultDrawGraphic, positionX, positionY| Constructor and Description |
|---|
ZebraAFontElement(ZebraFont zebraFont)
Use this constructor if you want to change the font of the next element.
|
ZebraAFontElement(ZebraFont zebraFont,
int dotHeigth,
int dotsWidth)
Constructor to set font and size of the next element
|
ZebraAFontElement(ZebraFont zebraFont,
ZebraRotation zebraRotation,
int dotHeigth,
int dotsWidth)
Constructor to use if you want have non-horizontal text.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getZplCode(PrinterOptions printerOptions)
Return Zpl code for this Element
|
drawPreviewGraphic, drawTopString, getPositionX, getPositionY, getZplCodePosition, setPositionX, setPositionYpublic ZebraAFontElement(ZebraFont zebraFont)
zebraFont - zebra fontpublic ZebraAFontElement(ZebraFont zebraFont, int dotHeigth, int dotsWidth)
zebraFont - font zebradotHeigth - height explain in dotsdotsWidth - height explain in dotspublic ZebraAFontElement(ZebraFont zebraFont, ZebraRotation zebraRotation, int dotHeigth, int dotsWidth)
zebraFont - font zebrazebraRotation - text rotationdotHeigth - height explain in dotsdotsWidth - height explain in dotspublic String getZplCode(PrinterOptions printerOptions)
ZebraElementgetZplCode in class ZebraElementCopyright © 2015. All Rights Reserved.