public class MEllipse extends MRectangle
P_CENTER, P_E, P_N, P_NE, P_NW, P_S, P_SE, P_SW, P_W, T_NOROT
ARROW_BACK_FLAG, ARROW_CROSSED_FLAG, ARROW_CURVED_FLAG, ARROW_DASHED_FLAG, ARROW_EQUILIBRIUM_FLAG, ARROW_GROUP1_MASK, ARROW_GROUP2_MASK, ARROW_HALF_LEFT, ARROW_HALF_MASK, ARROW_HALF_RIGHT, ARROW_RETROSYNTHETIC_FLAG, arrowFlags, CLOSED_FLAG, DEFAULT_ARROW_HEAD_LENGTH, DEFAULT_ARROW_HEAD_WIDTH, DEFAULT_EQUILIBRIUM_HEAD_WIDTH, DEFAULT_MAX_CROSS_SIZE, DEFAULT_RETROSYNTHETIC_HEAD_WIDTH, DEFAULT_THICKNESS, HEAD, points, TAIL, THICKNESS_SET_FLAG
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT
Modifier | Constructor and Description |
---|---|
|
MEllipse()
Constructs an ellipse.
|
protected |
MEllipse(MEllipse e)
Copy constructor.
|
|
MEllipse(MPoint p1,
MPoint p2)
Constructs a ellipse with the specified corner points.
|
|
MEllipse(MPoint p1,
MPoint p2,
Color c)
Constructs a ellipse with the specified corner points and color.
|
Modifier and Type | Method and Description |
---|---|
MEllipse |
clone()
Creates a clone.
|
addAttributeKeys, calcCenter, convertTransform, distanceFrom, fixClonedPoints, fixRectanglePointClones, getAttribute, getClip, getPointRef, getPointRefCount, getTCenter, getTOption, removeChild, setAttribute, setCorners, setTCenter, setTOption, transform, transformTo2D
checkValidity, containsAtom, copyProperties, finishCloning, fixMidPointClones, getArcAngle, getArcCenter, getArcRadius, getArcRadius, getArrowFlags, getArrowLength, getArrowWidth, getFlags, getLineMiddlePoint, getMidPointLocation, getMirroredArrowFlags, getPoint, getPointCount, getPoints, getSkip, getThickness, hasBackground, hasColor, hasFace, hasLineColor, hasOutline, isArrow, isEmpty, isThicknessSet, removeNotify, replaceAtom, reverse, rotate, setArcAngle, setArrow, setArrowFlags, setArrowLength, setArrowWidth, setFlags, setPoints, setSkip, setThickness, unselectContents, updateBoundingRect
addCdataAttributeKeys, addNotify, addNotify, connectToSgroupOfAtom, containsPoint, distanceFrom, getBackground, getColor, getLineColor, isChildOf, isInternalSelectable, isReactionArrow, isSelectableNow, isSelected, isTransformable, makeColor, removeAtom, removeNotify, setBackground, setColor, setLineColor, setSelected, toString
public MEllipse()
public MEllipse(MPoint p1, MPoint p2)
p1
- the top left cornerp2
- the bottom right cornerpublic MEllipse(MPoint p1, MPoint p2, Color c)
p1
- the top left cornerp2
- the bottom right cornerc
- the colorprotected MEllipse(MEllipse e)
e
- the original ellipsepublic MEllipse clone()
MObject
clone
in class MRectangle