The Ellipse trait can either be implemented as an Ellipse class or as a Circle. Which also fulfills the Ellipse interface. The factory methods in the Ellipse companion object return [Ellipse]].
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ShapeCentredtrait CentredElemtrait Shapetrait BoundedElemtrait Fillabletrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Members list
Value members
Abstract methods
The alignment angle of the ellipse to axis 1.
The alignment angle of the ellipse to axis 1.
Attributes
The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape
The bounding Rectangle provides an initial exclusion test as to whether the pointer is inside the polygon / shape
Attributes
Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.
Mirror, reflection 2D geometric transformation across the X axis on a Shape returns a Shape. The Return type will be narrowed in sub traits / classes.
The major radius of this ellipse, often referred to as a in maths.
The major radius of this ellipse, often referred to as a in maths.
Attributes
The major radius of this ellipse,often refered to as b in maths.
The major radius of this ellipse,often refered to as b in maths.
Attributes
Uniform scaling transformation, on an Ellipse, returns an Ellipse. The return type may be narrowed in sub traits / classes.
Translate 2D geometric transformation, on an Ellipse, returns an Ellipse. The return type may be narrowed in sub traits / classes.
Concrete methods
The end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
The start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
The start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Definition Classes
The height of the BoundingRect of this object.
The width of the BoundingRect of this object.
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
Attributes
- Definition Classes
Attributes
- Definition Classes
ShapeCompound graphic with a FillFacet, a TextFacet and a ShapeActive child.
ShapeCompound graphic with a FillFacet, a TextFacet and a ShapeActive child.
Attributes
- Definition Classes
2D Transformation using a ProlignMatrix on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
2D Transformation using a ProlignMatrix on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
Attributes
- Definition Classes
Reflect 2D geometric transformation across a line, line segment or ray on a Shape, returns a Shape. The Return type will be narrowed in sub traits / classes.
Rotation 2D geometric transformation on a Shape taking the rotation as a scalar measured in radians, returns a Shape. The Return type will be narrowed in sub traits / classes.
Rotation of 180 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a Drawable, returns a Drawable. The return type will be narrowed in sub classes and traits.
XY scaling 2D geometric transformation on a Shape returns a Shape. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the X Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.
Shear 2D geometric transformation along the Y Axis on a Shape, returns a Shape. The return type will be narrowed in sub classes and traits.
Inherited methods
The X component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The X component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The Y component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The Y component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The X component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The X component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The Y component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The Y component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The X component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The X component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The Y component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The Y component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The X component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The X component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
The Y component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
The Y component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.
Attributes
- Inherited from:
- EllipseBased
Attributes
- Inherited from:
- BoundedElem
The centre of the bounding rectangle. consider also using cenDefault.
The centre of the bounding rectangle. consider also using cenDefault.
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- BoundedElem
Attributes
- Inherited from:
- BoundedElem
The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.
The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.
Attributes
- Definition Classes
- Inherited from:
- CentredElem
The 2D vector Vec2 from the centre point to pAxes1, the end point of axis 1, by default on the right of the Ellipse this arc is based on.
The 2D vector Vec2 from the centre point to pAxes1, the end point of axis 1, by default on the right of the Ellipse this arc is based on.
Attributes
- Inherited from:
- EllipseBased
The 2D vector Vec2 from the centre point to pAxes2, the start point of axis 2, by default at the bottom of the Ellipse this arc is based on.
The 2D vector Vec2 from the centre point to pAxes2, the start point of axis 2, by default at the bottom of the Ellipse this arc is based on.
Attributes
- Inherited from:
- EllipseBased
The 2D vector Vec2 from the centre point to pAxes3, the start point of axis 1 , by default on the left of the Ellipse this arc is based on.
The 2D vector Vec2 from the centre point to pAxes3, the start point of axis 1 , by default on the left of the Ellipse this arc is based on.
Attributes
- Inherited from:
- EllipseBased
The 2D vector Vec2 from the centre point to pAxes4, the end point of axis 2, by default at the top of the Ellipse this arc is based on.
The 2D vector Vec2 from the centre point to pAxes4, the end point of axis 2, by default at the top of the Ellipse this arc is based on.
Attributes
- Inherited from:
- EllipseBased
The X component of the centre.
The Y component of the centre.
Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.
Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.
Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
Radius 1 of the ellipse. By default this is the horizontal axis of the ellipse. This can be the major or minor axis.
Radius 1 of the ellipse. By default this is the horizontal axis of the ellipse. This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
Radius 2 of the ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.
Radius 2 of the ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.
Attributes
- Inherited from:
- EllipseBased
Attributes
- Inherited from:
- BoundedElem