/***********************************************************************************/
//Create Methods
private SVGPathSegClosePath CreateSVGPathSegClosePath()
{
SVGPathSegMovetoAbs _firstPoint = _segList.GetItem(0) as SVGPathSegMovetoAbs;
if (_firstPoint == null)
{
SVGPathSegMovetoRel _firstPoint1 = _segList.GetItem(0) as SVGPathSegMovetoRel;
if (_firstPoint1 != null)
{
return(new SVGPathSegClosePath(_firstPoint1.x, _firstPoint1.y));
}
}
else
{
return(new SVGPathSegClosePath(_firstPoint.x, _firstPoint.y));
}
return(new SVGPathSegClosePath(-1f, -1f));
}