drawHiloOpenClosePath method

void drawHiloOpenClosePath(
  1. Canvas canvas
)

Draws the _path between open and close values.

Implementation

void drawHiloOpenClosePath(Canvas canvas) {
  canvas.drawLine(
      Offset(_centerHigh, _highY), Offset(_centerLow, _lowY), strokePaint!);
  canvas.drawLine(
      Offset(_openX, _openY),
      Offset(_isTransposed ? _openX : _centerHigh,
          _isTransposed ? _highY : _openY),
      strokePaint!);
  canvas.drawLine(
      Offset(_closeX, _closeY),
      Offset(_isTransposed ? _closeX : _centerLow,
          _isTransposed ? _highY : _closeY),
      strokePaint!);
}