Interface ScrollGutters.Content

Enclosing class:
ScrollGutters
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScrollGutters.Content
How the content is measured for a candidate viewport. Called once, or twice when reserving a strip changes the answer; see ScrollGutters.resolve(float, float, limn.components.ScrollBar, limn.components.ScrollBar, limn.components.ScrollGutters.Content).
  • Method Summary

    Modifier and Type
    Method
    Description
    measure(float viewportWidth, float viewportHeight)
     
  • Method Details

    • measure

      Size measure(float viewportWidth, float viewportHeight)
      Returns:
      the content's size when laid out in this viewport