org.omegahat.Graphics.Primitives
Class FillOvalPrimitive
java.lang.Object
|
+--org.omegahat.Graphics.Primitives.GraphicalObject
|
+--org.omegahat.Graphics.Primitives.RGO
|
+--org.omegahat.Graphics.Primitives.OvalPrimitive
|
+--org.omegahat.Graphics.Primitives.FillOvalPrimitive
- All Implemented Interfaces:
- GraphicalComponentInt
- public class FillOvalPrimitive
- extends OvalPrimitive
Rectangular graphical objects containing a fill-able oval.
| Fields inherited from class org.omegahat.Graphics.Primitives.RGO |
region |
|
Constructor Summary |
FillOvalPrimitive()
|
FillOvalPrimitive(double x,
double y,
double width,
double height)
|
FillOvalPrimitive(double x,
double y,
double width,
double height,
int unit)
|
FillOvalPrimitive(RegionDescriptionInt r)
|
FillOvalPrimitive(UDouble x,
UDouble y,
UDouble width,
UDouble height)
|
| Methods inherited from class org.omegahat.Graphics.Primitives.RGO |
center, centre, createRegionDescription, createRegionDescription, getRegion, height, height, setHJust, setRegion, setVJust, width, width, x, x, y, y |
| Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalObject |
cacheSize, getFontSize, getFontSize, getParameters, getParents, getStatus, isActive, isVisible, lastHeightCM, lastRegion, lastWidthCM, parent, parent, parents, setActive, setParameters, setParents, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FillOvalPrimitive
public FillOvalPrimitive()
FillOvalPrimitive
public FillOvalPrimitive(RegionDescriptionInt r)
FillOvalPrimitive
public FillOvalPrimitive(double x,
double y,
double width,
double height,
int unit)
FillOvalPrimitive
public FillOvalPrimitive(double x,
double y,
double width,
double height)
FillOvalPrimitive
public FillOvalPrimitive(UDouble x,
UDouble y,
UDouble width,
UDouble height)
draw
public Region draw(RectRegion r,
RectRegion rr,
OutputDevice od)
- Draw this oval and its interior.
- Overrides:
draw in class OvalPrimitive
- Following copied from class:
org.omegahat.Graphics.Primitives.OvalPrimitive
- Parameters:
r - the coordinates for this object in NDCrr - the NDC coordinates for the parent.