|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<SVGPathSeg>
net.sf.latexdraw.parsers.svg.path.SVGPathSegList
public class SVGPathSegList
Defines a list of SVGPath segments.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
10/20/07
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SVGPathSegList()
The constructor by default. |
Method Summary | |
---|---|
java.awt.geom.Point2D |
getCurrentPoint(int pos)
Returns the current point with absolute values at the end of the SVGPathSeg at the position i . |
java.awt.geom.Point2D |
getInitialPoint(int pos)
Returns the initial point of the path containing the element at the position i. |
void |
onPathSeg(SVGPathSeg pathSeg)
Actions to do when a SVGPath is parsed and created. |
java.lang.String |
toString()
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public SVGPathSegList()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.util.AbstractCollection<SVGPathSeg>
public void onPathSeg(SVGPathSeg pathSeg)
SVGPathHandler
onPathSeg
in interface SVGPathHandler
pathSeg
- The parsed SVGPath.public java.awt.geom.Point2D getCurrentPoint(int pos)
i
.
pos
- The position of the SVGPathSeg to compute the current point.
public java.awt.geom.Point2D getInitialPoint(int pos)
pos
- The position the begin the research.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |