PathSegment constructor
PathSegment()
Implementation
PathSegment()
: path = Path(),
length = 0.0,
strokeWidth = 0.0,
color = Colors.black,
firstSegmentOfPathIndex = 0,
relativeIndex = 0,
pathIndex = 0 {
//That is fun.
// List colors = [Colors.red, Colors.green, Colors.yellow];
// Random random = new Random();
// color = colors[random.nextInt(3)];
}