|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsm.SMShape
sm.SMRectangularShape
sm.SMEllipse
An ellipse shape for use with an SMCanvas
.
If filled, the fill paint is used to paint the interior.
If outlined, the outline paint and stroke are used to draw the boundary.
Field Summary |
Fields inherited from class sm.SMShape |
cptId |
Constructor Summary | |
SMEllipse()
Builds an empty SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h)
Builds a SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h,
java.awt.Paint p)
Builds a SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h,
java.awt.Paint p,
java.awt.Paint o)
Builds a SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h,
java.awt.Paint p,
java.awt.Paint o,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h,
java.awt.Paint p,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(double x,
double y,
double w,
double h,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.Paint p)
Builds an empty SMEllipse. |
|
SMEllipse(java.awt.Paint p,
java.awt.Paint o)
Builds an empty SMEllipse. |
|
SMEllipse(java.awt.Paint p,
java.awt.Paint o,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.Paint p,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h,
java.awt.Paint p)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h,
java.awt.Paint p,
java.awt.Paint o)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h,
java.awt.Paint p,
java.awt.Paint o,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h,
java.awt.Paint p,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.geom.Point2D point,
double w,
double h,
java.awt.Stroke str)
Builds a SMEllipse. |
|
SMEllipse(java.awt.Stroke str)
Builds an empty SMEllipse. |
Method Summary | |
SMShape |
duplicate()
Creates a new copy of this shape and returns it. |
Methods inherited from class sm.SMRectangularShape |
setBoundingBox, setBoundingBox, setDiagonal, setDiagonal |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SMEllipse()
public SMEllipse(java.awt.Paint p, java.awt.Paint o, java.awt.Stroke str)
p
- The fill paint styleo
- The outline paint stylestr
- The stroke stylepublic SMEllipse(java.awt.Paint p, java.awt.Stroke str)
p
- The fill paint stylestr
- The stroke stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h, java.awt.Paint p, java.awt.Paint o, java.awt.Stroke str)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint styleo
- The outline paint stylestr
- The stroke stylepublic SMEllipse(double x, double y, double w, double h, java.awt.Paint p, java.awt.Paint o, java.awt.Stroke str)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint styleo
- The outline paint stylestr
- The stroke stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h, java.awt.Paint p, java.awt.Stroke str)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint stylestr
- The stroke stylepublic SMEllipse(double x, double y, double w, double h, java.awt.Paint p, java.awt.Stroke str)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint stylestr
- The stroke stylepublic SMEllipse(java.awt.Paint p, java.awt.Paint o)
p
- The paint styleo
- The outline paint stylepublic SMEllipse(java.awt.Paint p)
p
- The paint stylepublic SMEllipse(double x, double y, double w, double h, java.awt.Paint p, java.awt.Paint o)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The paint styleo
- The outline paint stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h, java.awt.Paint p, java.awt.Paint o)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint styleo
- The outline paint stylepublic SMEllipse(double x, double y, double w, double h, java.awt.Paint p)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The paint stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h, java.awt.Paint p)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxp
- The fill paint stylepublic SMEllipse(java.awt.Stroke str)
str
- The stroke stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h, java.awt.Stroke str)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxstr
- The stroke stylepublic SMEllipse(double x, double y, double w, double h, java.awt.Stroke str)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxstr
- The stroke stylepublic SMEllipse(java.awt.geom.Point2D point, double w, double h)
point
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxpublic SMEllipse(double x, double y, double w, double h)
x
- The x coordinate of the upper left point of the bounding boxy
- The y coordinate of the upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxMethod Detail |
public SMShape duplicate()
duplicate
in class SMShape
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |