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: 19.1.398.0 (19.1.398.0)
public void SetSizes(
	IEnumerable<SizeF> 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.

To use user-defined per-marker sizes, the marker batch must be initialized with MarkerBatchSizeSource.UserDefined, otherwise each marker's size is it's 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