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