SVGPathSegList.GetPreviousSegment C# (CSharp) 메소드

GetPreviousSegment() 개인적인 메소드

private GetPreviousSegment ( SVGPathSeg, seg ) : SVGPathSeg,
seg SVGPathSeg,
리턴 SVGPathSeg,
    internal SVGPathSeg GetPreviousSegment(SVGPathSeg seg)
    {
        int index = this._segList.IndexOf(seg);
        if(index <= 0)
          return null;
        else
          return (SVGPathSeg)GetItem(index - 1);
    }