A
Size: a a a
A
MG
line 01: top: 00, bottom: 10my view is 50 pixels
line 02: top: 10, bottom: 20
line 03: top: 20, bottom: 30
line 04: top: 30, bottom: 40
line 05: top: 40, bottom: 50
line 06: top: 50, bottom: 60
line 07: top: 60, bottom: 70
line 08: top: 70, bottom: 80
line 09: top: 80, bottom: 90
line 10: top: 90, bottom: 100
A
AM
line 01: top: 00, bottom: 10my view is 50 pixels
line 02: top: 10, bottom: 20
line 03: top: 20, bottom: 30
line 04: top: 30, bottom: 40
line 05: top: 40, bottom: 50
line 06: top: 50, bottom: 60
line 07: top: 60, bottom: 70
line 08: top: 70, bottom: 80
line 09: top: 80, bottom: 90
line 10: top: 90, bottom: 100
AB
@N
A
U
A
MG
MG
y = [1096]
starting Height = [1144]
ending Height = [2024]
screen height = [933]
MG
MG
y = [0]
starting Height = [52]
ending Height = [932]
screen height = [933]
y
subtracted from y
, starting Height
and ending Height
MG
y = [1010]
starting Height = [1056]
ending Height = [2024]
screen height = [933]
y = [0]
starting Height = [46]
ending Height = [1014]
screen height = [933]
MG
y = [0]
starting Height = [0]
ending Height = [2024]
screen height = [933]
y = [0]
starting Height = [0]
ending Height = [2024]
screen height = [933]
MG
AM
y = [1010]
starting Height = [1056]
ending Height = [2024]
screen height = [933]
y = [0]
starting Height = [46]
ending Height = [1014]
screen height = [933]
MG
MG
float offset = offset_y;
float heightOffset = maxHeightF + offset;
boolean top = lineStats.bounds.top >= offset;
boolean bottom = lineStats.bounds.bottom <= heightOffset;
lineStats.shouldDraw = top && bottom;
AM
top && bottom