performPositioning abstract method

LayoutRect performPositioning(
  1. LayoutSize viewportSize,
  2. LayoutSize contentSize
)

Calculates the positioning rectangle for the content within the viewport.

Given the viewport size and content size, returns the rectangle that defines how the content should be positioned (for scrolling, etc.).

Implementation

LayoutRect performPositioning(
  LayoutSize viewportSize,
  LayoutSize contentSize,
);