insert

insert(int index, int type, java.awt.geom.Point2D.Float[] pts, int ptsType, boolean bRelativeCoord) function

Insert new command to path

Parameters

NameTypeDescription
indexintThe zero-based index at which item should be inserted.
typeintMotionCommandPathType
ptsjava.awt.geom.Point2D.Float[]Array of points
ptsTypeintMotionPathPointsType
bRelativeCoordbooleanRelative coordinates boolean