public static class LabelPrint.Layout
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean[] |
bold |
boolean |
center |
boolean |
centerVertical |
int[] |
fontSize |
int |
leftMargin |
int |
lineSpacing |
int |
topMargin |
Constructor and Description |
---|
Layout() |
Layout(int leftMargin,
int topMargin)
Constructs a new label layout using line space 6 px
|
Layout(int leftMargin,
int topMargin,
int lineSpacing) |
Layout(int leftMargin,
int topMargin,
int lineSpacing,
int[] fontSize) |
Layout(int leftMargin,
int topMargin,
int lineSpacing,
int[] fontSize,
boolean center) |
Layout(int leftMargin,
int topMargin,
int lineSpacing,
int[] fontSize,
boolean[] bold,
boolean center,
boolean centerVertical) |
public int leftMargin
public int topMargin
public int lineSpacing
public int[] fontSize
public boolean[] bold
public boolean center
public boolean centerVertical
public Layout()
public Layout(int leftMargin, int topMargin)
leftMargin
- the left label margintopMargin
- the top label margin / -1 will cause a vertical centeringpublic Layout(int leftMargin, int topMargin, int lineSpacing)
public Layout(int leftMargin, int topMargin, int lineSpacing, int[] fontSize)
public Layout(int leftMargin, int topMargin, int lineSpacing, int[] fontSize, boolean center)
public Layout(int leftMargin, int topMargin, int lineSpacing, int[] fontSize, boolean[] bold, boolean center, boolean centerVertical)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de