removePoint method
- required int pointIndex,
Removes a point from the part. Segments connecting to this point are removed and the gap filled with a new line segment.
The points in the part are the start and end points of segments. Removing a point can remove the two adjacent segments. A new line segment reconnects the gap.
Parameters:
pointIndex
— Zero-based index of the point.
Implementation
void removePoint({
required int pointIndex,
}) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_MutablePart_removePoint(
_handle,
pointIndex,
errorHandler,
);
});
}