Compartir a través de


Stroke.SetPoints Method

Stroke.SetPoints Method

Sets an array of Point Leave Site structures at the specified indices in a Stroke object.

Overload List

public int SetPoints(Int32, Point[])
public int SetPoints(Point[])

Remarks

This method does not change the number of points in the Stroke object. To change the number of points in the Stroke object, a new Stroke object must be created, or the Stroke object must be split.

The length of the points array determines the count of points to be modified in the Stroke object.

This method does not provide for truncating the Stroke object. If the points array contains fewer points than the Stroke object, the remainder of the points in the Stroke object are not modified.

This method does not provide for extending the Stroke object. If the points array contains more points than the Stroke object, the extra points are not used.

Examples

See Also