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
itemsIReadOnlyList<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
itemsis null.
Run(IReadOnlyList<ArrangeItem>, ArrangeOptions)
Places the labels.
public static ArrangeResult[] Run(IReadOnlyList<ArrangeItem> items, ArrangeOptions options)
Parameters
itemsIReadOnlyList<ArrangeItem>The labels. A null entry is passed over, and its result is
default: not moved, not placed.optionsArrangeOptionsThe 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
itemsoroptionsis null.