| Constructor and Description |
|---|
BristleStroke(float width, float thickness)
Creates a new BristleStroke.
|
BristleStroke(float width, float thickness, long randomSeed)
Creates a new BristleStroke.
|
public BristleStroke(float width,
float thickness)
This constructor always uses a random seed of zero.
width - the width (in pixels) of this stroke.
thickness - a float between zero and one indicating how "thick" this stroke should be. (1 = "very thick", and 0 = "very thin")
public BristleStroke(float width,
float thickness,
long randomSeed)
width - the width (in pixels) of this stroke.
thickness - a float between zero and one indicating how "thick" this stroke should be. (1 = "very thick", and 0 = "very thin")
randomSeed - the random seed for this stroke.