TextBatchPrimitive Constructor (GraphicsFont, SetHint, Boolean) | 
Namespace: AGI.Foundation.Graphics
public TextBatchPrimitive( GraphicsFont font, SetHint setHint, bool renderInScreenSpace )
| Exception | Condition | 
|---|---|
| ArgumentNullException | font is null. | 
| UnsupportedCaseException | setHint must be a valid enumeration value in SetHint. | 
After constructing the primitive, call a method such as Set(IEnumerableCartesian, IEnumerableString) or SetCartographic(CentralBody, IEnumerableCartographic, IEnumerableString) to provide it with text.
The primitive's properties are initialized to the following values:
Once the primitive is constructed, it must be added to Primitives before it will be rendered.