In This Topic
Adds a segment to a path.
Syntax
'Declaration
Public Sub AddSegment( _
ByVal As ImGearPDEPathElementType, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal 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 ,
int ,
int ,
int ,
int ,
int ,
int
)
public: void AddSegment(
ImGearPDEPathElementType ,
int ,
int ,
int ,
int ,
int ,
int
)
public:
void AddSegment(
ImGearPDEPathElementType ,
int ,
int ,
int ,
int ,
int ,
int
)
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.
See Also