Package chemaxon.struc.graphics
Class MEllipse
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MRectangle
chemaxon.struc.graphics.MEllipse
- All Implemented Interfaces:
Serializable
,Cloneable
Ellipse object.
- Since:
- Marvin 5.3,
- See Also:
-
Field Summary
Fields inherited from class chemaxon.struc.graphics.MRectangle
P_CENTER, P_E, P_N, P_NE, P_NW, P_S, P_SE, P_SW, P_W, T_NOROT
Fields inherited from class chemaxon.struc.graphics.MPolyline
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
Fields inherited from class chemaxon.struc.MObject
TRANSFORM_DISTORT
-
Constructor Summary
ModifierConstructorDescriptionMEllipse()
Constructs an ellipse.protected
Copy constructor.Constructs a ellipse with the specified corner points.Constructs a ellipse with the specified corner points and color. -
Method Summary
Methods inherited from class chemaxon.struc.graphics.MRectangle
addAttributeKeys, calcCenter, convertTransform, distanceFrom, fixClonedPoints, fixRectanglePointClones, getAttribute, getClip, getPointRef, getPointRefCount, getTCenter, getTOption, removeChild, setAttribute, setCorners, setTCenter, setTOption, transform, transformTo2D
Methods inherited from class chemaxon.struc.graphics.MPolyline
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
Methods inherited from class chemaxon.struc.MObject
addCdataAttributeKeys, addNotify, connectToSgroupOfAtom, containsPoint, distanceFrom, getBackground, getColor, getContainerMObject, getLineColor, isChildOf, isInternalSelectable, isReactionArrow, isSelectableNow, isSelected, isTransformable, makeColor, removeAtom, setBackground, setColor, setLineColor, setSelected, toString, updateBoundingRect
-
Constructor Details
-
MEllipse
public MEllipse()Constructs an ellipse. -
MEllipse
Constructs a ellipse with the specified corner points.- Parameters:
p1
- the top left cornerp2
- the bottom right corner
-
MEllipse
Constructs a ellipse with the specified corner points and color.- Parameters:
p1
- the top left cornerp2
- the bottom right cornerc
- the color
-
MEllipse
Copy constructor.- Parameters:
e
- the original ellipse
-
-
Method Details
-
clone
Description copied from class:MObject
Creates a clone.- Overrides:
clone
in classMRectangle
- Returns:
- the clone
-