public class PiecewiseLinearIndentationFunctor extends StackIndentationFunctor
mDistanceToPeekStart, mMaxItemsInStack, mPeekSize, mStackStartsAtPeek, mTotalTransitionDistance
Modifier and Type | Method and Description |
---|---|
float |
getValue(float itemsBefore)
Gets the offset of this Functor given a the quantity of items before it
|
setDistanceToPeekStart, setPeekSize
public float getValue(float itemsBefore)
StackIndentationFunctor
getValue
in class StackIndentationFunctor
itemsBefore
- how many items are already in the stack before this element