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
)
Public Sub New (
interpolator As PositionInterpolator,
setHint As SetHint
)
public:
PolylinePrimitive(
PositionInterpolator^ interpolator,
SetHint setHint
)
new :
interpolator : PositionInterpolator *
setHint : SetHint -> PolylinePrimitive
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 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