ImageGear for .NET
AddSegment Method




An ImGearPDEPathElementType value indicating the type of path to add.
X-coordinate of first point.
Y-coordinate of first point.
X-coordinate of second point.
Y-coordinate of second point.
X-coordinate of third point.
Y-coordinate of third point.
Adds a segment to a path.
Syntax
'Declaration
 
Public Sub AddSegment( _
   ByVal segmentType As ImGearPDEPathElementType, _
   ByVal point1X As Integer, _
   ByVal point1Y As Integer, _
   ByVal point2X As Integer, _
   ByVal point2Y As Integer, _
   ByVal point3X As Integer, _
   ByVal point3Y As Integer _
) 
'Usage
 
Dim instance As ImGearPDEPath
Dim segmentType As ImGearPDEPathElementType
Dim point1X As Integer
Dim point1Y As Integer
Dim point2X As Integer
Dim point2Y As Integer
Dim point3X As Integer
Dim point3Y As Integer
 
instance.AddSegment(segmentType, point1X, point1Y, point2X, point2Y, point3X, point3Y)
public void AddSegment( 
   ImGearPDEPathElementType segmentType,
   int point1X,
   int point1Y,
   int point2X,
   int point2Y,
   int point3X,
   int point3Y
)
public: void AddSegment( 
   ImGearPDEPathElementType segmentType,
   int point1X,
   int point1Y,
   int point2X,
   int point2Y,
   int point3X,
   int point3Y
) 
public:
void AddSegment( 
   ImGearPDEPathElementType segmentType,
   int point1X,
   int point1Y,
   int point2X,
   int point2Y,
   int point3X,
   int point3Y
) 

Parameters

segmentType
An ImGearPDEPathElementType value indicating the type of path to add.
point1X
X-coordinate of first point.
point1Y
Y-coordinate of first point.
point2X
X-coordinate of second point.
point2Y
Y-coordinate of second point.
point3X
X-coordinate of third point.
point3Y
Y-coordinate of third point.
Remarks
The number of values used depends upon segmentType:
See Also

Reference

ImGearPDEPath Class
ImGearPDEPath Members
ImGearPDEPathElementType Enumeration

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback