Vertically scrollable text container. Useful for creation of walls of text.
Constructor
Variables
read onlybottomScrollV:Float
Bottom of current scrollV value. Represents bottom of visible Text area.
scrollStep:Float
Amount of pixels one scroll step uses. Defaults to Text font line height + lineSpacing.
scrollV:Float = 0
Current scrollV value. Starts at 0, up to maxScrollV.
Note: Does not invoke onScrollV.
Methods
inlinetoScrollV (pixels:Float):Float
Converts provided position in pixels to scroll stepped value.
Shortcut to pixels / scrollStep