Click or drag to resize

TextBatchPrimitiveOptionalParametersSetColors Method

Defines a collection of colors, 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 SetColors(
	IEnumerable<Color> colors
)

Parameters

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

Per-string colors override the per-batch color. Therefore, when per-string colors are defined with this method, the text batch's Color property is ignored.

See Also