Table of Contents

Method GetLayoutRectangles

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

GetLayoutRectangles(double)

Performs layout of the drawable childs and returns calculated bound of the different parts of the drawable.

public virtual EnumArray<ScrollBarDrawable.HitTestResult, RectD> GetLayoutRectangles(double scaleFactor)

Parameters

scaleFactor double

Scale factor used to convert pixels to/from dips.

Returns

EnumArray<ScrollBarDrawable.HitTestResult, RectD>

Calculated bounds of the different parts of the drawable.