Click or drag to resize

PolylinePrimitive Constructor (PositionInterpolator, SetHint)

Initializes a polyline primitive with the specified interpolator and setHint.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public PolylinePrimitive(
	PositionInterpolator interpolator,
	SetHint setHint
)

Parameters

interpolator
Type: AGI.Foundation.GraphicsPositionInterpolator
The PositionInterpolator applied to positions passed to Set methods.
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
UnsupportedCaseExceptionsetHint must be a valid enumeration value in SetHint.
Remarks

Use of an interpolator disables the ability to define per-position colors.

After constructing the primitive, call a method such as Set or SetCartographic to provide it with positions.

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.

See Also