Click or drag to resize

MarkerBatchPrimitiveOptionalParametersSetSizes Method

Defines a collection of sizes, one for each marker in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void SetSizes(
	IEnumerable<SizeF> sizes
)

Parameters

sizes
Type: System.Collections.GenericIEnumerableSizeF
The sizes for each marker in the batch. There must be one size for each position passed to the MarkerBatchPrimitive's Set or SetPartial method.
Remarks

To use user-defined per-marker sizes, the marker batch must be initialized with MarkerBatchSizeSource.UserDefined, otherwise each marker's size is its texture's size.

The size may be interpreted to be pixels or meters depending on MarkerBatchPrimitive.SizeUnit.

Per-marker sizes override the per-batch size. Therefore, when per-marker sizes are defined with this method, MarkerBatchPrimitive.Size is not used.

See Also