-
Notifications
You must be signed in to change notification settings - Fork 297
Configuration transformations
Configuration transformations are implemented as a kind of layout helper. In this document are the particulars of each layout configuration offered, and the effects of the operation performed.
l = left, t = top, r = right, b = bottom, w = width, h = height
ltr(l, t, r, b) = (l, t, r, b)
Mirrors the horizontal values within the finite space.
rtl(l, t, r, b) = (w - r, t, w - l, b)
Mirrors the vertical values.
sfe(l, t, r, b) = (l, h - b, r, h - t)
Mirrors both the horizontal and vertical values.
rev(l, t, r, b) = (w - r, h - b, w - l, h - t)
A no-op transformation.
ver(l, t, r, b) = (l, t, r, b)
Swaps the top and left values, and the bottom and right values. Effectively mirroring along a line drawn from the NW corner to the SE corner.
hor(l, t, r, b) = (t, l, b, r)
It is important to note that for horizontal scrolling configurations, width and height measurement calls are transposed.
w = h and h = w
[Getting Started](Getting started with version 0.4)
[User's Guide](User's guide for version 0.4)
User documentation
[Basic usage](A simple tutorial)
[Advanced usage](All the cool things)
[SuperSLiM and RxJava](Using SuperSLiM with RxJava)
Developers documentation
Glossary
[The section graph](The section graph)
[Tracking data changes](Tracking data changes)
[Configuration transformations](Configuration transformations)
[Layout helpers](Layout helpers)
[Section configuration](Section configuration)
[Section state](Section state)
[Section layout managers](Section layout managers)
[Header layout managers](Header layout managers)