|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.util.internal.Oval
org.eclipse.tptp.platform.report.birt).
public class Oval
Oval Shape, an ellipse aligned to X,Y axis contained in a rectangle. This can handle Oval arc also.
| Field Summary | |
|---|---|
protected OvalAlg |
alg_
Deprecated. |
protected double |
arc_length_
Deprecated. |
protected double |
arc_start_
Deprecated. |
protected int |
cx_
Deprecated. |
protected int |
cy_
Deprecated. |
protected boolean |
give_path_element_
Deprecated. |
protected int |
rx_
Deprecated. |
protected int |
ry_
Deprecated. |
| Constructor Summary | |
|---|---|
Oval(int cx,
int cy,
int rx,
int ry)
Deprecated. |
|
Oval(int cx,
int cy,
int rx,
int ry,
double arc_start,
double arc_length)
Deprecated. |
|
Oval(Oval o)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
backTangent(IVector vector)
Deprecated. |
boolean |
contains(int px,
int py)
Deprecated. |
boolean |
contains(IPoint p)
Deprecated. |
IPathElement |
copyPathElement()
Deprecated. |
IShape |
copyShape()
Deprecated. |
boolean |
fillShape(IGC gc,
IGCDirect gd,
IBrush brush,
IShape shape)
Deprecated. fill given shape using brush (current brush in gc) using gc. |
void |
frontTangent(IVector vector)
Deprecated. |
IRect |
getBounds()
Deprecated. |
int |
getCenterX()
Deprecated. |
int |
getCenterY()
Deprecated. |
int |
getRadiusX()
Deprecated. |
int |
getRadiusY()
Deprecated. |
boolean |
isCircle()
Deprecated. |
IPathElement |
nextPathElement()
Deprecated. |
boolean |
nextPoint(IPoint point)
Deprecated. |
boolean |
pathBegin(IGC gc,
IGCDirect gd)
Deprecated. |
boolean |
pathElementBegin(IGC gc,
IGCDirect gd)
Deprecated. Called before any nextPoint(), used to initialize path before accessing to points. |
void |
pathElementEnd()
Deprecated. Called after any startPath, to declare, gc won't use this path until it call startPath. |
void |
pathEnd()
Deprecated. Called to end the path, time to release any gc, gd memorized... |
void |
setArc(int cx,
int cy,
int rx,
int ry,
double arc_start,
double arc_length)
Deprecated. |
void |
setOval(int cx,
int cy,
int rx,
int ry)
Deprecated. |
void |
setOval(Oval o)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int cx_
protected int cy_
protected int rx_
protected int ry_
protected double arc_start_
protected double arc_length_
protected boolean give_path_element_
protected OvalAlg alg_
| Constructor Detail |
|---|
public Oval(int cx,
int cy,
int rx,
int ry,
double arc_start,
double arc_length)
public Oval(int cx,
int cy,
int rx,
int ry)
public Oval(Oval o)
| Method Detail |
|---|
public int getCenterX()
public int getCenterY()
public int getRadiusX()
public int getRadiusY()
public boolean isCircle()
public void setArc(int cx,
int cy,
int rx,
int ry,
double arc_start,
double arc_length)
public void setOval(int cx,
int cy,
int rx,
int ry)
public void setOval(Oval o)
public IShape copyShape()
copyShape in interface IShapepublic IPathElement copyPathElement()
copyPathElement in interface IPathElement
public boolean contains(int px,
int py)
contains in interface IShapepublic boolean contains(IPoint p)
contains in interface IShapepublic IRect getBounds()
getBounds in interface IShape
public boolean fillShape(IGC gc,
IGCDirect gd,
IBrush brush,
IShape shape)
IShapeFiller
fillShape in interface IShapeFillergc - gc which request the shape filling.gd - gd used to fill shape shape (but gc can be used too).brush - current gc brush used to fill shape.shape - shape to fill.
public boolean pathBegin(IGC gc,
IGCDirect gd)
pathBegin in interface IPathpublic void pathEnd()
IPath
pathEnd in interface IPathpublic IPathElement nextPathElement()
nextPathElement in interface IPath
public boolean pathElementBegin(IGC gc,
IGCDirect gd)
IPathElement
pathElementBegin in interface IPathElementpublic void pathElementEnd()
IPathElement
pathElementEnd in interface IPathElementpublic boolean nextPoint(IPoint point)
nextPoint in interface IPathElementpublic void backTangent(IVector vector)
backTangent in interface IPathElementpublic void frontTangent(IVector vector)
frontTangent in interface IPathElementpublic java.lang.String toString()
toString in class java.lang.Object
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||