public StrokeSegment ( |
||
stroke | ||
startIndex | int | |
lastIndex | int | |
Résultat | System |
public StrokeSegment (Stroke stroke, int startIndex, int lastIndex)
{
_points = stroke.Points;
if (startIndex >= _points.Length) throw new ArgumentOutOfRangeException ("startIndex");
if (lastIndex >= _points.Length) throw new ArgumentOutOfRangeException ("lastIndex");
StartIndex = startIndex;
EndIndex = lastIndex;
}