Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.
The number of values used depends upon segmentType:
- MOVE_TO: point1X, point1Y
- LINE_TO: point1X, point1Y
- CURVE_TO: point1X, point1Y, point2X, point2Y, point3X, point3Y
- CURVE_TO_V: point1X, point1Y, point2X, point2Y
- CURVE_TO_Y: point1X, point1Y, point2X, point2Y
- RECT: point1X, point1Y, point2X (width), point2Y (height)
- CLOSE_PATH: None