org.vectomatic.common.model.geometry
Class Ellipse
java.lang.Object
org.vectomatic.common.model.Shape
org.vectomatic.common.model.geometry.Ellipse
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class Ellipse
- extends Shape
- implements com.google.gwt.user.client.rpc.IsSerializable
Class to represent an ellipse
Field Summary |
static float |
K
|
Methods inherited from class org.vectomatic.common.model.Shape |
clearAttribute, copyAttributes, definesAttribute, getAttribute, getBoundingBox, getDefinedAttributes, getModel, getRotation, getScaling, getTransform, getTranslation, setAttribute, setModel, setRotation, setScaling, setTransform, setTranslation, updateTransform |
K
public static final float K
Ellipse
public Ellipse()
Ellipse
public Ellipse(Ellipse ellipse)
acceptVisitor
public void acceptVisitor(IShapeVisitor visitor)
- Specified by:
acceptVisitor
in class Shape
isSame
public boolean isSame(Shape shape)
- Description copied from class:
Shape
- Returns true if the specified shape has the same
geometrical and styling properties as this shape,
false otherwise.
- Specified by:
isSame
in class Shape
- Parameters:
shape
- A shape
- Returns:
- True if the specified shape has the same
geometrical and styling properties as this shape,
false otherwise.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010. All Rights Reserved.