Click or drag to resize

TextBatchPrimitiveOptionalParametersSetOrigins Method

Defines a collection of origins, one for each string in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void SetOrigins(
	IEnumerable<Origin> origins
)

Parameters

origins
Type: System.Collections.GenericIEnumerableOrigin
The origins for each string in the batch. There must be one origin for each string passed to the TextBatchPrimitive's Set or SetPartial method.
Remarks

The origin defines where the string is placed relative to its position.

Per-string origins override the per-batch origin. Therefore, when per-string origins are defined with this method, Origin is ignored.

See Also