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

Definition

Assembly PanAndZoom.dll

Calculate scrollable properties.

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

Parameters

source
Avalonia.Rect

The source bounds.

borderSize
Avalonia.Size

The size of border (this control)

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.