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