getCurrentCrossLinePrice method

double getCurrentCrossLinePrice()

获取当前十字线位置的价格

Implementation

double getCurrentCrossLinePrice() {
  double y = selectY;
  if (y < mTopPadding) y = mTopPadding;
  if (y > mMainRect.bottom) y = mMainRect.bottom;
  return mMainRenderer.getYFromPrice(y);
}