|
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.Ellipse
org.eclipse.tptp.platform.report.birt).
public class Ellipse
General Ellipse shape and/ord path. Can hold full ellipse including sloped ellipse, or arc of ellipse.
| Field Summary | |
|---|---|
protected EllipseAlg |
def_
Deprecated. store current ellipse definition in pixel coordinates |
protected boolean |
give_path_element_
Deprecated. |
| Constructor Summary | |
|---|---|
Ellipse(Ellipse e)
Deprecated. Create a copy of given ellipse. |
|
Ellipse(int cx,
int cy,
double rx_angle,
int rx,
int ry)
Deprecated. Create full sloped ellipse. |
|
Ellipse(int cx,
int cy,
double rx_angle,
int rx,
int ry,
double start_angle,
double arc_length)
Deprecated. Create a sloped arc of ellipse. |
|
Ellipse(int cx,
int cy,
int rx,
int ry)
Deprecated. Create pixel X axis aligned ellipse. |
|
| Method Summary | |
|---|---|
void |
backTangent(IVector vector)
Deprecated. |
boolean |
contains(int x,
int y)
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. |
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,
double rx_angle,
int rx,
int ry,
double start_angle,
double arc_length)
Deprecated. Create a sloped arc of ellipse. |
void |
setEllipse(Ellipse e)
Deprecated. Copy parameter from given ellipse, does nothing if e is null. |
void |
setEllipse(int cx,
int cy,
double rx_angle,
int rx,
int ry)
Deprecated. Create full sloped ellipse. |
void |
setEllipse(int cx,
int cy,
int rx,
int ry)
Deprecated. Change ellipse to a X pixel axis aligned ellipse. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EllipseAlg def_
protected boolean give_path_element_
| Constructor Detail |
|---|
public Ellipse(int cx,
int cy,
double rx_angle,
int rx,
int ry,
double start_angle,
double arc_length)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx_angle_ - angle of ellipse X axis and pixel X axis (radian).rx - ellipse X axis radius.ry - ellipse Y axis radius.start_angle - start angle of arc (radian) from pixel X axis.arc_length - signed arc length (radian) from start_angle.
public Ellipse(int cx,
int cy,
double rx_angle,
int rx,
int ry)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx_angle_ - angle of ellipse X axis and pixel X axis (radian).rx - ellipse X axis radius.ry - ellipse Y axis radius.
public Ellipse(int cx,
int cy,
int rx,
int ry)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx - X axis radius of ellipse.ry - Y axis radius of ellipse.public Ellipse(Ellipse e)
| Method Detail |
|---|
public void setEllipse(int cx,
int cy,
int rx,
int ry)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx - X axis radius of ellipse.ry - Y axis radius of ellipse.
public void setEllipse(int cx,
int cy,
double rx_angle,
int rx,
int ry)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx_angle_ - angle of ellipse X axis and pixel X axis (radian).rx - ellipse X axis radius.ry - ellipse Y axis radius.
public void setArc(int cx,
int cy,
double rx_angle,
int rx,
int ry,
double start_angle,
double arc_length)
cx - X coordinate of ellipse center (in pixel).cy - Y coordinate of ellipse center (in pixel).rx_angle_ - angle of ellipse X axis and pixel X axis (radian).rx - ellipse X axis radius.ry - ellipse Y axis radius.start_angle - start angle of arc (radian) from pixel X axis.arc_length - signed arc length (radian) from start_angle.public void setEllipse(Ellipse e)
public 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 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 IPathElement
|
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 | ||||||||