public class Scribbler extends Object
| Constructor and Description |
|---|
Scribbler()
|
| Modifier and Type | Method and Description |
|---|---|
static GeneralPath |
create(Shape
|
static GeneralPath |
create(Shape
|
static void |
create(Shape
|
static Shape |
fillBody(Shape
|
public static GeneralPathcreate(Shape s, float tol, float movement)
tol - a float from [0,1]
movement - a float from [0,1]
public static GeneralPathcreate(Shape s, float tol, float movement, long randomSeed)
tol - a float from [0,1]
movement - a float from [0,1]
public static void create(Shapes, float tol, float movement, long randomSeed, PathWriter writer)
tol - a float from [0,1]
movement - a float from [0,1]
public static ShapefillBody(Shape body, float strokeWidth, double angle, double density)
body - the shape to fill
strokeWidth - the width of the stroke.
angle - the angle (in radians) to scribble
density - a float from [0,1]