getLineLayout abstract method
Gets the layout parameters (width and x-offset) for a line at a specific Y position. Returns null if the line is outside the displayable area.
Implementation
({int width, int xOffset})? getLineLayout(double lineY, double lineHeight);