@Override
		public void next()
		{
			int type = types[segNum++];
			switch (type)
			{
				case SEG_CLOSE:
					break;
				case SEG_MOVETO: // fallthrough is intended
				case SEG_LINETO:
					valsIdx += 2;
					break;
				case SEG_QUADTO:
					valsIdx += 4;
					break;
				case SEG_CUBICTO:
					valsIdx += 6;
					break;
				case SEG_ARCTO:
					valsIdx += 7;
					break;
			}
		}