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 Stylebuild()Style.StyleBuildercolor(Color color)The stroke color of the shape.Style.StyleBuilderfill(Color fill)The fill color of the shape.Style.StyleBuilderfilled(boolean filled)Defines, if the shape is filled or not.Style.StyleBuilderfont(Font font)Rendering font forGlyphVectors.Style.StyleBuildershape(Style.Shape shape)Point shape representation.Style.StyleBuilderstroke(Stroke stroke)The stroke style.StringtoString()
-
-
-
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 forGlyphVectors.- Returns:
this.
-
build
public Style build()
-
-