public interface SimplePaneFactory
Modifier and Type | Method and Description |
---|---|
SimplePane |
simplePane(int sx,
int sy)
Delegate to
SimplePane.SimplePane(int, int) . |
SimplePane |
simplePane(int sx,
int sy,
Halign halign,
Valign valign)
|
SimplePane |
simplePane(int sx,
int sy,
Halign halign,
Valign valign,
Paint paint)
|
SimplePane |
simplePane(int sx,
int sy,
Paint paint)
Delegate to
SimplePane.SimplePane(int, int) . |
SimplePane |
text(String text,
boolean horizontal,
int fontheight,
double fontscale,
int sx,
int sy,
Halign boxHalign,
Valign boxValign,
Halign textHalign,
Valign textValign)
Add a text which is rendered upon
#layout(com.chemaxon.overlap.cli.util.images.SubPane) . |
SimplePane simplePane(int sx, int sy, Paint paint)
SimplePane.SimplePane(int, int)
.sx
- Minimal X sizesy
- Minimal Y sizepaint
- Painter to paint the represented graphical partSimplePane
which must be used in a layout eventually passed to
#layout(com.chemaxon.overlap.cli.util.images.SubPane)
SimplePane simplePane(int sx, int sy)
SimplePane.SimplePane(int, int)
.sx
- Minimal X sizesy
- Minimal Y sizeSimplePane
which must be used in a layout eventually passed to
#layout(com.chemaxon.overlap.cli.util.images.SubPane)
SimplePane simplePane(int sx, int sy, Halign halign, Valign valign, Paint paint)
sx
- Minimal X sizesy
- Minimal Y sizehalign
- Horizontal alignment in parent areavalign
- Vertical alignment in parent areapaint
- Painter to paint the represented graphical partSimplePane
which must be used in a layout eventually passed to
#layout(com.chemaxon.overlap.cli.util.images.SubPane)
SimplePane simplePane(int sx, int sy, Halign halign, Valign valign)
sx
- Minimal X sizesy
- Minimal Y sizehalign
- Horizontal alignment in parent areavalign
- Vertical alignment in parent areaSimplePane
which must be used in a layout eventually passed to
#layout(com.chemaxon.overlap.cli.util.images.SubPane)
SimplePane text(String text, boolean horizontal, int fontheight, double fontscale, int sx, int sy, Halign boxHalign, Valign boxValign, Halign textHalign, Valign textValign)
#layout(com.chemaxon.overlap.cli.util.images.SubPane)
.
TODO: introduce text pane builder to cut down parameter list lengthtext
- Text to renderhorizontal
- true
when a horizontal text should be written, false
for verticalfontheight
- Requested font heightfontscale
- Requested font scalesx
- Minimal horizontal size of the text areasy
- Minimal vertical size of the text areaboxHalign
- Pane horizontal alignment in its parentboxValign
- Pane vertical alignment in its parenttextHalign
- Text horizontal alignmenttextValign
- Text vertical alignmentSimplePane
which must be used in a layout eventually passed to
#layout(com.chemaxon.overlap.cli.util.images.SubPane)