Table of Contents

Method GetAnimatedChunks

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

GetAnimatedChunks(RectD)

Calculates and returns an array of three rectangles representing the animated chunks of the progress bar.

public virtual RectD[] GetAnimatedChunks(RectD r)

Parameters

r RectD

The rectangle that defines the area to be animated. The dimensions and position of this rectangle determine the scope and placement of the animated segments.

Returns

RectD[]

An array of RectD objects representing the animated rectangles. The contents and arrangement of the array depend on the current animation direction (horizontal or vertical).