|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.parsers.svg.path.SVGPathSeg
net.sf.latexdraw.parsers.svg.path.SVGPathSegCurvetoCubic
public class SVGPathSegCurvetoCubic
Defines the SVGPath curveto segment.
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
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.latexdraw.parsers.svg.path.SVGPathSeg |
---|
SVGPathSeg.PathSeg |
Field Summary | |
---|---|
protected double |
x
The X-coordinate of the second point of the curve. |
protected double |
x1
The x-coordinate of the first control point. |
protected double |
x2
The x-coordinate of the second control point. |
protected double |
y
The Y-coordinate of the second point of the curve. |
protected double |
y1
The y-coordinate of the first control point. |
protected double |
y2
The y-coordinate of the second control point. |
Fields inherited from class net.sf.latexdraw.parsers.svg.path.SVGPathSeg |
---|
isRelative, type |
Constructor Summary | |
---|---|
SVGPathSegCurvetoCubic(double x,
double y,
double x1,
double y1,
double x2,
double y2,
boolean isRelative)
The main constructor. |
Method Summary | |
---|---|
SVGPathSeg.PathSeg |
getType()
|
double |
getX()
|
double |
getX1()
|
double |
getX2()
|
double |
getY()
|
double |
getY1()
|
double |
getY2()
|
java.lang.String |
toString()
|
Methods inherited from class net.sf.latexdraw.parsers.svg.path.SVGPathSeg |
---|
isRelative, setRelative |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double x
protected double y
protected double x1
protected double y1
protected double x2
protected double y2
Constructor Detail |
---|
public SVGPathSegCurvetoCubic(double x, double y, double x1, double y1, double x2, double y2, boolean isRelative)
x
- The X-coordinate of the second point of the curve.y
- The Y-coordinate of the second point of the curve.x1
- The x-coordinate of the first control point.y1
- The y-coordinate of the first control pointx2
- The x-coordinate of the second control point.y2
- The y-coordinate of the second control point.isRelative
- isRelative True: the path segment is relative, false it is absolute.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public double getX()
public double getY()
public double getX1()
public double getY1()
public double getX2()
public double getY2()
public SVGPathSeg.PathSeg getType()
getType
in class SVGPathSeg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |