STK Graphics PrimitivesSend comments on this topic.
IAgStkGraphicsTextBatchPrimitiveOptionalParameters Interface

Description

Optional per-string and per-batch parameters for Text Batch Primitive. To use optional parameters, create an instance of TextBatchPrimitiveOptionalParameters, then call the desired methods or properties to define per-string and per-batch parameters, and finally pass the object to the text batch's Set or SetPartial method.

Public Methods

Public Method SetColorsDefines a collection of colors, one for each string in the batch.
Public Method SetEyeOffsetsDefines a collection of eye offsets, one for each string in the batch.
Public Method SetOriginsDefines a collection of origins, one for each string in the batch.
Public Method SetPixelOffsetsDefines a collection of pixel offsets, one for each string in the batch.

Public Properties

Public Property EyeOffsetGets or sets the per-batch eye offset, which is applied to each string in the text batch. The array contains the components of the offset arranged in the order x, y, z.
Public Property MaximumStringLengthGets or sets the maximum length of each string in the text batch.
Public Property OriginGets or sets the per-batch origin, which is applied to each string in the text batch.
Public Property PixelOffsetGets or sets the per-batch pixel offset, which is applied to each string in the text batch. The array contains one x pixel offset followed by one y pixel offset.
Public Property ScreenSpaceRenderingGets or sets a flag that informs the CTextBatchPrimitive to use rendering optimized for screen space text.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.