net.sf.latexdraw.parsers.svg.path
Class SVGPathSeg
java.lang.Object
net.sf.latexdraw.parsers.svg.path.SVGPathSeg
- Direct Known Subclasses:
- SVGPathSegArc, SVGPathSegClosePath, SVGPathSegCurvetoCubic, SVGPathSegCurvetoCubicSmooth, SVGPathSegCurvetoQuadratic, SVGPathSegCurvetoQuadraticSmooth, SVGPathSegLineto
public abstract class SVGPathSeg
- extends java.lang.Object
Defines a model for the 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
- Version:
- 3.0
- Author:
- Arnaud BLOUIN
Constructor Summary |
SVGPathSeg(boolean isRelative)
The main constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isRelative
protected boolean isRelative
- Defines if the segment path is relative or absolute. @since 2.0
type
protected SVGPathSeg.PathSeg type
- The type of the segment path. @since 2.0
SVGPathSeg
public SVGPathSeg(boolean isRelative)
- The main constructor.
- Parameters:
isRelative
- True: the path segment is relative, false it is absolute.- Since:
- 2.0
getType
public abstract SVGPathSeg.PathSeg getType()
- Returns:
- The type of the segment path.
- Since:
- 2.0
isRelative
public boolean isRelative()
- Returns:
- the isRelative.
- Since:
- 2.0
setRelative
public void setRelative(boolean isRelative)
- Parameters:
isRelative
- the isRelative to set.- Since:
- 2.0