|
TPTP 4.6.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.Circle
org.eclipse.tptp.platform.report.birt).
public class Circle
IPath and IShape implementation for a circle, or circle arc.
| Field Summary | |
|---|---|
protected double |
arc_length_
Deprecated. |
protected double |
arc_start_
Deprecated. |
protected int |
curr_index_
Deprecated. |
protected int |
curr_octant_
Deprecated. |
protected int |
cx_
Deprecated. |
protected int |
cy_
Deprecated. |
protected boolean |
finished_
Deprecated. |
protected CircleAlg |
path_alg_
Deprecated. |
protected boolean |
path_element_is_circle_
Deprecated. |
protected boolean |
path_element_returned_
Deprecated. |
protected int |
radius_
Deprecated. |
protected Vector |
vector_
Deprecated. |
| Constructor Summary | |
|---|---|
Circle()
Deprecated. Create empty cirle, must call setCircle or setCircle arc to define circle. |
|
Circle(Circle c)
Deprecated. |
|
Circle(int cx,
int cy,
int radius)
Deprecated. |
|
Circle(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
backTangent(IVector vector)
Deprecated. |
boolean |
contains(Circle c)
Deprecated. works only if circle is a full circle (not and arc) |
boolean |
contains(int x,
int y)
Deprecated. |
boolean |
contains(IPoint p)
Deprecated. |
boolean |
contains(IRect r)
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. |
double |
getArcLength()
Deprecated. |
double |
getArcStart()
Deprecated. |
IRect |
getBounds()
Deprecated. |
int |
getCenterX()
Deprecated. |
int |
getCenterY()
Deprecated. |
int |
getRadius()
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 radius,
double arc_start,
double arc_length)
Deprecated. |
void |
setCircle(Circle c)
Deprecated. |
void |
setCircle(int cx,
int cy,
int radius)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int cx_
protected int cy_
protected int radius_
protected double arc_start_
protected double arc_length_
protected boolean path_element_is_circle_
protected boolean path_element_returned_
protected CircleAlg path_alg_
protected int curr_index_
protected int curr_octant_
protected Vector vector_
protected boolean finished_
| Constructor Detail |
|---|
public Circle()
public Circle(int cx,
int cy,
int radius)
public Circle(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
public Circle(Circle c)
| Method Detail |
|---|
public void setCircle(int cx,
int cy,
int radius)
public void setArc(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
public void setCircle(Circle c)
public int getCenterX()
public int getCenterY()
public int getRadius()
public double getArcStart()
public double getArcLength()
public boolean pathBegin(IGC gc,
IGCDirect gd)
pathBegin in interface IPathpublic void pathEnd()
IPath
pathEnd in interface IPathpublic IPathElement nextPathElement()
nextPathElement in interface IPathpublic IPathElement copyPathElement()
copyPathElement in interface IPathElement
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 IShape copyShape()
copyShape in interface IShape
public boolean contains(int x,
int y)
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 contains(IRect r)
public boolean contains(Circle c)
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||