CalculateScrollable(Rect, Point, Size, Matrix, out Size, out Size, out Vector) Method

Definition

Assembly PanAndZoom.dll

Calculate scrollable properties for content-coordinate bounds and a separate layout offset.

public static void CalculateScrollable(Rect contentBounds, Point layoutOffset, Size borderSize, Matrix matrix, scoped out Size extent, scoped out Size viewport, scoped out Vector offset)

Parameters

contentBounds
Avalonia.Rect

The effective bounds in content coordinates.

layoutOffset
Avalonia.Point

The layout position of the child inside the ZoomBorder.

borderSize
Avalonia.Size

The size of the ZoomBorder viewport.

matrix
Avalonia.Matrix

The transform matrix.

extent
Avalonia.Size

The extent of the scrollable content.

viewport
Avalonia.Size

The size of the viewport.

offset
Avalonia.Vector

The current scroll offset.