public class FreeFormNodeStyleBuilder
extends java.lang.Object
Constructor and Description |
---|
FreeFormNodeStyleBuilder()
Initializes a new instance of the FreeFormNodeStyleBuilder class.
|
FreeFormNodeStyleBuilder(FreeFormNodeStyle instance)
Initializes a new instance of the FreeFormNodeStyleBuilder class.
|
Modifier and Type | Method and Description |
---|---|
FreeFormNodeStyleBuilder |
brush(Brush value)
Sets the brush used to fill the interior of the item.
|
FreeFormNodeStyleBuilder |
brush(java.awt.Color color) |
FreeFormNodeStyleBuilder |
brush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
FreeFormNodeStyle |
create()
Creates a new object with the attributes accumulated by this builder.
|
FreeFormNodeStyleBuilder |
fontFamily(java.lang.String value)
Sets the font family of the item text.
|
FreeFormNodeStyleBuilder |
fontSize(float value)
Sets the font size of the item text.
|
FreeFormNodeStyleBuilder |
fontStyle(int value)
Sets the font style of the item text.
|
FreeFormNodeStyleBuilder |
fontUnit(GraphicsUnit value)
Sets the measure unit used to specify font size.
|
FreeFormNodeStyle |
get()
Returns an existing object passed for initialization to this builder.
|
FreeFormNodeStyleBuilder |
shadowBrush(Brush value)
Sets the brush used to paint the shadow of the item.
|
FreeFormNodeStyleBuilder |
shadowBrush(java.awt.Color color) |
FreeFormNodeStyleBuilder |
shadowBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
FreeFormNodeStyleBuilder |
stroke(Brush value)
Sets the brush used to paint the outline of the item.
|
FreeFormNodeStyleBuilder |
stroke(java.awt.Color color) |
FreeFormNodeStyleBuilder |
stroke(java.awt.Color color1,
java.awt.Color color2,
int angle) |
FreeFormNodeStyleBuilder |
strokeThickness(double value)
Sets the thickness of the item's outline, expressed in the
current units of measure.
|
FreeFormNodeStyleBuilder |
textBrush(Brush value)
Sets the brush used to paint texts inside the item.
|
FreeFormNodeStyleBuilder |
textBrush(java.awt.Color color) |
FreeFormNodeStyleBuilder |
textBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
public FreeFormNodeStyleBuilder()
public FreeFormNodeStyleBuilder(FreeFormNodeStyle instance)
public FreeFormNodeStyleBuilder brush(Brush value)
public FreeFormNodeStyleBuilder brush(java.awt.Color color)
public FreeFormNodeStyleBuilder brush(java.awt.Color color1, java.awt.Color color2, int angle)
public FreeFormNodeStyleBuilder fontFamily(java.lang.String value)
public FreeFormNodeStyleBuilder fontSize(float value)
public FreeFormNodeStyleBuilder fontStyle(int value)
public FreeFormNodeStyleBuilder fontUnit(GraphicsUnit value)
public FreeFormNodeStyleBuilder shadowBrush(Brush value)
public FreeFormNodeStyleBuilder shadowBrush(java.awt.Color color)
public FreeFormNodeStyleBuilder shadowBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public FreeFormNodeStyleBuilder stroke(Brush value)
public FreeFormNodeStyleBuilder stroke(java.awt.Color color)
public FreeFormNodeStyleBuilder stroke(java.awt.Color color1, java.awt.Color color2, int angle)
public FreeFormNodeStyleBuilder strokeThickness(double value)
public FreeFormNodeStyleBuilder textBrush(Brush value)
public FreeFormNodeStyleBuilder textBrush(java.awt.Color color)
public FreeFormNodeStyleBuilder textBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public FreeFormNodeStyle create()
public FreeFormNodeStyle get()