//public void SetCoordinateXRange(double xLeft, double xRight) //{ // XAxisMapper.SetRange2(xLeft, xRight); // if(!isInitializing) // MapperStateChanged?.Invoke(this); //} //public void SetCoordinateYRange(double yTop, double yBottom) //{ // YAxisMapper.SetRange2(yTop, yBottom); // if (!isInitializing) // MapperStateChanged?.Invoke(this); //} public void SetScreenArea(double left, double right, double top, double bottom) { XAxisMapper.SetRange1(left, right); YAxisMapper.SetRange1(top, bottom); if (!isInitializing) { MapperStateChanged?.Invoke(this); } }
public void SetScreenArea(double left, double right, double top, double bottom) { XAxisMapper.SetRange1(left, right); YAxisMapper.SetRange1(top, bottom); }