|
@@ -66,16 +66,16 @@ class GridBackgroundPainterForFive extends CustomPainter {
|
|
|
|
|
|
for (int i = 0; i < 12; i++) {
|
|
|
/// 绘制两根中心线
|
|
|
- final centerLinePaint = Paint()
|
|
|
- ..color = const Color.fromARGB(255, 1, 4, 148)
|
|
|
- ..style = PaintingStyle.stroke
|
|
|
- ..strokeWidth = 1.0;
|
|
|
+ // final centerLinePaint = Paint()
|
|
|
+ // ..color = const Color.fromARGB(255, 1, 4, 148)
|
|
|
+ // ..style = PaintingStyle.stroke
|
|
|
+ // ..strokeWidth = 1.0;
|
|
|
|
|
|
- canvas.drawLine(
|
|
|
- Offset(0, size.height * i / 12),
|
|
|
- Offset(size.width, size.height * i / 12),
|
|
|
- centerLinePaint,
|
|
|
- );
|
|
|
+ // canvas.drawLine(
|
|
|
+ // Offset(0, size.height * i / 12),
|
|
|
+ // Offset(size.width, size.height * i / 12),
|
|
|
+ // centerLinePaint,
|
|
|
+ // );
|
|
|
for (int j = 0; j < xGridNums; j++) {
|
|
|
if (j % 125 == 0) {
|
|
|
final offsetX = j * xGridSize;
|