public class CEllipse extends CRectangularShape
Canvas
.
If filled, the fill paint is used to paint the interior.
If outlined, the outline paint and stroke are used to draw the boundary.Constructor and Description |
---|
CEllipse()
Builds an empty CEllipse.
|
CEllipse(double x,
double y,
double w,
double h)
Builds a CEllipse.
|
CEllipse(java.awt.geom.Point2D p,
double w,
double h)
Builds a CEllipse.
|
Modifier and Type | Method and Description |
---|---|
CShape |
duplicate()
Creates a new copy of this shape and returns it.
|
setBoundingBox, setBoundingBox, setDiagonal, setDiagonal, setHeight, setWidth
above, aboveAll, addChild, addGhost, addTag, addTag, addTag, addTo, animate, asEllipse, asImage, asPolyLine, asRectangle, asRectangularShape, asText, attachSM, below, belowAll, canvasToShape, canvasToShapeRef, clone, contains, contains, contains, contains, copyTo, detachSM, duplicateWithTags, firstShape, fixReferenceShapeToCurrent, getAbsShape, getAbsTransform, getAntialiasedShapes, getBoundingBox, getCanvas, getCenterX, getCenterY, getChild, getChildren, getChildrenCount, getClip, getFilledShapes, getFillPaint, getFirstAntialiasedShape, getFirstFilledShape, getFirstHavingTag, getFirstOutlinedShape, getGhost, getHeight, getHierarchy, getIntersection, getMaxX, getMaxY, getMinX, getMinY, getOutlinedShapes, getOutlinePaint, getParent, getReferenceX, getReferenceY, getRenderingHint, getRotation, getScaleX, getScaleY, getShape, getStroke, getSubtraction, getTags, getTransform, getTranslateX, getTranslateY, getTransparencyFill, getTransparencyOutline, getWidth, hasTag, hasTag, indexOf, intersects, isAbove, isAntialiased, isBelow, isDrawable, isFilled, isOnOutline, isOutlined, isPickable, isPicked, paint, pick, pickStyle, remove, removeAllChildren, removeChild, removeChild, removeGhost, removeTag, removeTag, rotateBy, rotateTo, scaleBy, scaleBy, scaleTo, scaleTo, setAntialiased, setClip, setDrawable, setFilled, setFillPaint, setOutlined, setOutlinePaint, setParent, setPickable, setReferencePoint, setReferencePoint, setRenderingHint, setShape, setStroke, setTransformToIdentity, setTransparencyFill, setTransparencyFill, setTransparencyOutline, setTransparencyOutline, shapeToCanvas, translateBy, translateTo
public CEllipse()
public CEllipse(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 boxpublic CEllipse(java.awt.geom.Point2D p, double w, double h)
p
- The upper left point of the bounding boxw
- The width of the bounding boxh
- The height of the bounding boxpublic CShape duplicate()
duplicate
in class CShape
CShape.duplicateWithTags()