pathSet method
Implementation
pathSet(bool flg, int i) {
var h = boxSize * wLines;
var h2 = -boxSize * wLines;
if (flg) {
/// Confirmation from top to bottom.
/// In that case, draw a line.
path.moveTo(0, boxSize * i);
path.relativeLineTo(
sizeSet.width,
0,
);
} else {
/// Draw the X-axis sideways.
path.moveTo(
sizeSet.width / wLines * i,
h,
);
path.relativeLineTo(
0,
h2,
);
}
}