Interface Screen.WriterBuilder
- Enclosing interface:
- Screen
public static interface Screen.WriterBuilder
Builder interface for a
Screen.Writer
. Allows to defined settings a builder
will operare on.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build aScreen.Writer
.color
(int color) Define a color thisScreen.Writer
operates on.layer
(int index) Define az-index
thisScreen.Writer
operates on.style
(int style) Define a style thisScreen.Writer
operates on.
-
Method Details
-
layer
- Parameters:
index
- the z-index- Returns:
- a writer builder for chaining
-
color
Define a color thisScreen.Writer
operates on.WriterBuilder
defaults to no defined color.- Parameters:
color
- the color- Returns:
- a writer builder for chaining
-
style
Define a style thisScreen.Writer
operates on.WriterBuilder
defaults to no defined style.- Parameters:
style
- the style- Returns:
- a writer builder for chaining
- See Also:
-
build
Screen.Writer build()Build aScreen.Writer
.- Returns:
- a build writer
-