- canScroll
bool canScroll(Vector2 valueVec)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawImpl
void drawImpl(Rectangle mainOuter, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
- resizeImpl
void resizeImpl(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
- scroll
inout(float) scroll()
Distance the node is scrolled by.
- scroll
float scroll()
Undocumented in source. Be warned that the author may not have intended to support it.
- scroll
float scroll(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
- scrollEnd
void scrollEnd()
Scroll to the end of the node, requires the node to be drawn at least once.
- scrollImpl
void scrollImpl(Vector2 valueVec)
Undocumented in source. Be warned that the author may not have intended to support it.
- scrollMax
float scrollMax()
Get the maximum value this container can be scrolled to. Requires at least one draw.
- scrollStart
void scrollStart()
Scroll to the beginning of the node.
- setScroll
void setScroll(float value)
Set the scroll to a value clamped between start and end.
- shallowScrollTo
deprecated Rectangle shallowScrollTo(Node child, Vector2 , Rectangle parentBox, Rectangle childBox)
Undocumented in source. Be warned that the author may not have intended to support it.
- shallowScrollTo
Rectangle shallowScrollTo(Node , Rectangle parentBox, Rectangle childBox)
Scroll to the given node.
Implement scrolling for the given node.
This only supports scrolling in one axis.