Table of Contents

Method Run

Namespace
GeometryHelper.Arranging
Assembly
GeometryHelper.dll

Run(IReadOnlyList<ArrangeItem>)

Places the labels with the default options.

public static ArrangeResult[] Run(IReadOnlyList<ArrangeItem> items)

Parameters

items IReadOnlyList<ArrangeItem>

The labels. A null entry is passed over, and its result is default: not moved, not placed.

Returns

ArrangeResult[]

What became of each label, in the order the labels were given.

Exceptions

ArgumentNullException

items is null.

Run(IReadOnlyList<ArrangeItem>, ArrangeOptions)

Places the labels.

public static ArrangeResult[] Run(IReadOnlyList<ArrangeItem> items, ArrangeOptions options)

Parameters

items IReadOnlyList<ArrangeItem>

The labels. A null entry is passed over, and its result is default: not moved, not placed.

options ArrangeOptions

The algorithm, where the candidate positions lie, and the tolerance.

Returns

ArrangeResult[]

What became of each label, in the order the labels were given.

Exceptions

ArgumentNullException

items or options is null.