Table of Contents

Method GetTrackRect

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

GetTrackRect(ref EnumArray<HitTestResult, RectD>)

Calculates the rectangle representing the scroll bar track, based on the specified scale factor.

public virtual RectD GetTrackRect(ref EnumArray<ScrollBarDrawable.HitTestResult, RectD> rectangles)

Parameters

rectangles EnumArray<ScrollBarDrawable.HitTestResult, RectD>

Bounds of the different parts of the drawable.

Returns

RectD