Click or drag to resize

TextBatchPrimitive Constructor (GraphicsFont, SetHint)

Initializes a marker batch primitive with the specified font and setHint.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public TextBatchPrimitive(
	GraphicsFont font,
	SetHint setHint
)

Parameters

font
Type: AGI.Foundation.GraphicsGraphicsFont
The font used to render text in the text batch.
setHint
Type: AGI.Foundation.GraphicsSetHint
The expected usage for Set and SetPartial methods. See the Set Hint topic for more information on selecting an appropriate value.
Exceptions
ExceptionCondition
ArgumentNullExceptionfont is null.
UnsupportedCaseExceptionsetHint must be a valid enumeration value in SetHint.
Remarks
See Also