Package evo.search.view.render
Class Style.StyleBuilder
- java.lang.Object
-
- evo.search.view.render.Style.StyleBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Style
build()
Style.StyleBuilder
color(Color color)
The stroke color of the shape.Style.StyleBuilder
fill(Color fill)
The fill color of the shape.Style.StyleBuilder
filled(boolean filled)
Defines, if the shape is filled or not.Style.StyleBuilder
font(Font font)
Rendering font forGlyphVector
s.Style.StyleBuilder
shape(Style.Shape shape)
Point shape representation.Style.StyleBuilder
stroke(Stroke stroke)
The stroke style.String
toString()
-
-
-
Method Detail
-
stroke
public Style.StyleBuilder stroke(Stroke stroke)
The stroke style.- Returns:
this
.
-
color
public Style.StyleBuilder color(Color color)
The stroke color of the shape.- Returns:
this
.
-
fill
public Style.StyleBuilder fill(Color fill)
The fill color of the shape. Is ignored, iffilled(boolean)
is set tofalse
.- Returns:
this
.
-
filled
public Style.StyleBuilder filled(boolean filled)
Defines, if the shape is filled or not.- Returns:
this
.
-
shape
public Style.StyleBuilder shape(Style.Shape shape)
Point shape representation.- Returns:
this
.- See Also:
Style.Shape
-
font
public Style.StyleBuilder font(Font font)
Rendering font forGlyphVector
s.- Returns:
this
.
-
build
public Style build()
-
-