Initializes a new instance of a polyline
primitive with the specified polylineType and setHint.
[Visual Basic .NET] |
---|
Public Function InitializeWithTypeAndHint( _
ByVal PolylineType As AgEStkGraphicsPolylineType, _
ByVal SetHint As AgEStkGraphicsSetHint _
) As IAgStkGraphicsPolylinePrimitive
|
[C#] |
---|
public IAgStkGraphicsPolylinePrimitive InitializeWithTypeAndHint(
|
[Managed C++] |
---|
public: IAgStkGraphicsPolylinePrimitive^ InitializeWithTypeAndHint(
|
[Java] |
---|
public IAgStkGraphicsPolylinePrimitive initializeWithTypeAndHint(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithTypeAndHint(
|
- PolylineType
-
Member Value Description eStkGraphicsPolylineTypeLines 0 Every two positions define a line segment. Line segments are not required to be connected to each other. eStkGraphicsPolylineTypeLineStrip 1 After the first position, each additional position defines a line segment from the previous position to the current position. Set
methods. - SetHint
-
Member Value Description eStkGraphicsSetHintInfrequent 0 Rendering is optimized for static geometry. The primitive's vertices are not going to be updated with Set() or SetPartial() calls. Calls to SetPartial() will fail. Calls to Set() are allowed but may not be as efficient as SetHintFrequent. eStkGraphicsSetHintPartial 1 Rendering is optimized for dynamic geometry. The primitive's vertices are expected to be updated with SetPartial() - some or all of the vertices will change but the number of vertices will not. eStkGraphicsSetHintFrequent 2 Rendering is optimized for streaming geometry. The primitive's vertices are expected to be updated with Set() - all the vertices will change and/or the number of vertices will change. Calls to SetPartial() will fail.