Click or drag to resize

PolylinePrimitive Constructor (PolylineType, SetHint)

Initializes a new instance of a polyline primitive with the specified polylineType 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(
	PolylineType polylineType,
	SetHint setHint
)

Parameters

polylineType
Type: AGI.Foundation.GraphicsPolylineType
Describes how the polyline should interpret 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
UnsupportedCaseExceptionpolylineType must be a valid enumeration value in PolylineType.
UnsupportedCaseExceptionsetHint must be a valid enumeration value in SetHint.
Remarks

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