ostrat.geom
The package name has been chosen to avoid clashing with "geometry" that may be use in other libraries This package contains geometry vectors and graphics. Of particular note are the Pt2, GeomElem and GraphicElem class /traits. These are the foundation of the API and the library. A number of implementation Value classes of the Int and Double product classes defined in ostrat. 2d graphical objects for generalised use. They are of particular use for the generic canvas based classes defined in pCanv but can be used in any display framework and for printing.
Attributes
Members list
Type members
Classlikes
A class that can transform itself in 2d geometry and can preserve its type across all affine transformations. This is a key trait, the object can be transformed in 2 dimensional space. Leaf classes must implement the single method fTrans(f: Vec2 => Vec2): T. The related trait TransDistable does the same for fTrans(f: Dist2 => Dist2): T.
A class that can transform itself in 2d geometry and can preserve its type across all affine transformations. This is a key trait, the object can be transformed in 2 dimensional space. Leaf classes must implement the single method fTrans(f: Vec2 => Vec2): T. The related trait TransDistable does the same for fTrans(f: Dist2 => Dist2): T.
Attributes
- Graph
- Supertypes
- Known subtypes
- class Bezierclass CurveTailclass DashedLineDrawtrait GraphicAffineElemclass BezierDrawtrait GraphicBoundedAffinetrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTextclass LinePathDrawclass LinesDrawclass PolygonActiveclass TextGraphicclass TextOutlineclass LinePathclass LineSegclass LineSegArrclass LineSegDrawclass PolyCurveCentredclass PolygonGenclass Pt2Arrclass ShapeGenOldclass TriangleImp
The type class trait for transforming an object in 2d geometry. Note overrides necessary to preserve type.
The type class trait for transforming an object in 2d geometry. Note overrides necessary to preserve type.
Attributes
- Companion:
- object
- Graph
- Supertypes
The companion object for the Trans[T] type class, containing instances for common classes.
The companion object for the Trans[T] type class, containing instances for common classes.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- AffineTrans.type
Angle of inclination. Its particularly important not to use this class to represent Latitudes as the Angle class has a normal range 0 <= a < 360 degrees, while Latitudes have a normal range +- 90 degrees. Unlike AngleVec this class has no multiply or divide, * or / methods. It has add and subtract, + and - methods, but these take AngleVecs as operands not other Angles. To Add,subtract or scale angles of inclination would make no sense.
Angle of inclination. Its particularly important not to use this class to represent Latitudes as the Angle class has a normal range 0 <= a < 360 degrees, while Latitudes have a normal range +- 90 degrees. Unlike AngleVec this class has no multiply or divide, * or / methods. It has add and subtract, + and - methods, but these take AngleVecs as operands not other Angles. To Add,subtract or scale angles of inclination would make no sense.
Attributes
- Companion:
- object
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- Known subtypes
Angle vector, an angle of rotation. Values may be greater than 360 degrees and less than -360 degrees. Negative values represent clockwise rotation. So +720 degrees represents 2 complete anti-clockwise rotations, -1080 degrees represents 3 clockwise rotations.
Angle vector, an angle of rotation. Values may be greater than 360 degrees and less than -360 degrees. Negative values represent clockwise rotation. So +720 degrees represents 2 complete anti-clockwise rotations, -1080 degrees represents 3 clockwise rotations.
Attributes
- Companion:
- object
- Graph
- Supertypes
Efficient Immutable Array[Double] based collection class, with the Angle values stored as arc seconds.
Efficient Immutable Array[Double] based collection class, with the Angle values stored as arc seconds.
Attributes
- Companion:
- object
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
To be removed.
To be removed.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ArcSegDistTail.type
This provides factory methods to create an ArcTail. There is no independent ArcTail class. This is one of 3 factory objects to CurveTail.
This provides factory methods to create an ArcTail. There is no independent ArcTail class. This is one of 3 factory objects to CurveTail.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ArcTail.type
Object for producing arrow graphics to point at objects in diagrams.
Object for producing arrow graphics to point at objects in diagrams.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Arrow.type
This is a trait for geometric elements, GeomElems, that don't need special axes method implementations.
This is a trait for geometric elements, GeomElems, that don't need special axes method implementations.
Attributes
- Graph
- Supertypes
- Known subtypes
- class CArcDrawclass Circleclass CircleCompoundclass EllipseImpclass EllipseCompoundImplementclass PolygonCompoundImpclass RectangleCompoundImpclass ShapeGenclass ShapeGenDrawOldclass ShapeGenFillOldclass TriangleEquiclass TriangleIsosGen
Indicates the back mouse button was pressed.
Indicates the back mouse button was pressed.
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass MouseButtonclass Objecttrait Matchableclass Any
- Self type
- BackButton.type
Baseline style for text.
Baseline style for text.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object Alphabetic.typeobject Bottom.typeobject Hanging.typeobject Ideographic.typeobject Middle.typeobject Top.type
Cubic bezier curve.
Cubic bezier curve.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait AffinePreservetrait SimilarPreservetrait ProlignPreservetrait CurveSegtrait Drawabletrait GeomElemclass Objecttrait Matchableclass Any
Functional class for Drawing a cubic Bezier curve.
Functional class for Drawing a cubic Bezier curve.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait CanvElemtrait GraphicAffineElemtrait AffinePreservetrait GraphicSimElemtrait SimilarPreservetrait ProlignPreservetrait CurveSegDrawtrait CurveSegGraphictrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
Companion object for the BezierDraw class.
Companion object for the BezierDraw class.
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- BezierDraw.type
This provides factory methods to create a Bezier tail. There is no independent BezierTail class. This is one of 3 factory objects to CurveTail.
This provides factory methods to create a Bezier tail. There is no independent BezierTail class. This is one of 3 factory objects to CurveTail.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- BezierTail.type
A 2D geometric element, that has a defined bounding rectangle, BoundingRect. This trait is for layout, such as placing Graphic elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
A 2D geometric element, that has a defined bounding rectangle, BoundingRect. This trait is for layout, such as placing Graphic elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
Attributes
- Graph
- Supertypes
- Known subtypes
- trait CentredElemtrait OrdinaledElemclass Circletrait ShapeGraphicOrdinaledtrait RectGraphicclass RectCompoundtrait RectGraphicSimpletrait RectFillclass RectFillImptrait ShapeOrdinaledtrait Rectclass PhiRectclass PhiRectYclass RectImpclass Sqligntrait ShapeCentredtrait Ellipseclass EllipseImptrait Ellipselignclass EllipselignImptrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Rectangletrait PhiRectangleclass PhiRectangleImpclass RectangleImptrait Squareclass SquareImptrait ShapeGraphicCentredtrait EllipseGraphictrait CircleGraphicclass CircleCompoundtrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseCompoundclass EllipseCompoundImplementtrait EllipseGraphicSimpletrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImptrait RectangleGraphictrait RectangleCompoundclass RectangleCompoundImptrait RectangleGraphicSimpletrait RectangleDrawclass RectangleDrawImptrait RectangleFillclass RectangleFillImptrait GraphicBoundedtrait GraphicActivetrait GraphicActiveOldtrait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicClickableclass PolygonActivetrait GraphicBoundedSimertrait GraphicBoundedAffinetrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTexttrait PolygonGraphictrait PolygonCompoundclass PolygonCompoundImptrait PolygonGraphicSimpletrait PolygonDrawclass PolygonDrawImptrait PolygonFillclass PolygonFillImpclass TriangleFilltrait TriangleGraphicSimpletrait TriangleGraphictrait ShapeGraphictrait ShapeCompoundtrait ShapeGraphicSimpletrait ShapeDrawtrait CanvShapeDrawtrait ShapeFilltrait CanvShapeFilltrait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plustrait Quadrilateraltrait Triangleclass TriangleImptrait TriangleIsosclass TriangleEquiclass TriangleIsosGenclass PolygonGentrait PolygonYMirrortrait Shapeclass ShapeGen
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Graph
- Supertypes
- Self type
- BoundingNone.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object BoundingNone.typeclass BoundingRect
An intermediate class for describing the vertical / horrisontal bounding rectangle for a Polygon or Shape. Defined by 4 Double values.
An intermediate class for describing the vertical / horrisontal bounding rectangle for a Polygon or Shape. Defined by 4 Double values.
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A specialised flat ArrayBuffer[Double] based class for PtM2s collections.
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- BuffPtMetre2.type
A specialised flat ArrayBuffer[Double] based class for Vec2s collections.
Circular arc. Has a rotation counter to allow rotation deltas greater than 360 degrees and less than - 360 degrees. The CArc is intended to function as closely as possible to the functioning of CArcTails in a curve path. Hence the decision to store the three points as fields rather using the AngleVec of the arc which would allow less data. This is to avoid calculation /rounding errors in the start and end points, which will be used by other CurveSegs in curve paths.
Circular arc. Has a rotation counter to allow rotation deltas greater than 360 degrees and less than - 360 degrees. The CArc is intended to function as closely as possible to the functioning of CArcTails in a curve path. Hence the decision to store the three points as fields rather using the AngleVec of the arc which would allow less data. This is to avoid calculation /rounding errors in the start and end points, which will be used by other CurveSegs in curve paths.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait EArcligntrait EArctrait CurveSegtrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass Any
Companion object of CArc class, contains various factory methods for the construction of circular arcs.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait AxisFreetrait EArcDrawtrait CanvElemtrait CurveSegDrawtrait CurveSegGraphictrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
A canvas element that can be rendered by the pgui.CanvasPlatform API. This trait is not sealed, but should not be extended outside of the library.
A canvas element that can be rendered by the pgui.CanvasPlatform API. This trait is not sealed, but should not be extended outside of the library.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- class BezierDrawtrait CanvShapeDrawtrait PolygonDrawclass PolygonDrawImptrait RectangleDrawclass RectangleDrawImptrait CanvShapeFilltrait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFillclass CircleFillclass DashedLineDrawtrait EArcDrawclass CArcDrawclass EArcDrawImptrait EllipseDrawclass CircleDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImpclass LinePathDrawclass LineSegDrawclass LinesDrawclass ShapeGenDrawOldclass ShapeGenFillOldclass TextGraphic
Companion object for the DisplayElem trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Attributes
- Graph
- Supertypes
- trait CanvElemtrait ShapeDrawtrait ShapeGraphicSimpletrait GraphicSimpletrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
ShapeFill element that is a CanvElem
ShapeFill element that is a CanvElem
Attributes
- Graph
- Supertypes
- trait CanvElemtrait ShapeFilltrait ShapeGraphicSimpletrait GraphicSimpletrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFill
A 2D geometric element with a defined centre.
A 2D geometric element with a defined centre.
Attributes
- Graph
- Supertypes
- Known subtypes
- trait OrdinaledElemclass Circletrait ShapeGraphicOrdinaledtrait RectGraphicclass RectCompoundtrait RectGraphicSimpletrait RectFillclass RectFillImptrait ShapeOrdinaledtrait Rectclass PhiRectclass PhiRectYclass RectImpclass Sqligntrait ShapeCentredtrait Ellipseclass EllipseImptrait Ellipselignclass EllipselignImptrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Rectangletrait PhiRectangleclass PhiRectangleImpclass RectangleImptrait Squareclass SquareImptrait ShapeGraphicCentredtrait EllipseGraphictrait CircleGraphicclass CircleCompoundtrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseCompoundclass EllipseCompoundImplementtrait EllipseGraphicSimpletrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImptrait RectangleGraphictrait RectangleCompoundclass RectangleCompoundImptrait RectangleGraphicSimpletrait RectangleDrawclass RectangleDrawImptrait RectangleFillclass RectangleFillImp
Circle class is defined by its centre and radius. It fulfills the interface for an Ellipse.
Circle class is defined by its centre and radius. It fulfills the interface for an Ellipse.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait AxisFreetrait OrdinaledElemtrait OrdinalEdgePointstrait Ellipseligntrait Ellipsetrait ShapeCentredtrait CentredElemtrait Shapetrait BoundedElemtrait Fillabletrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass Any
This is the companion object for the Circle case class. It provides factory methods for creating Circles.
Compound Circle Graphic class.
Compound Circle Graphic class.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait AxisFreetrait CircleGraphictrait EllipseCompoundtrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeCompoundtrait NoCanvElemtrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
A simple draw of a circle graphic.
A simple draw of a circle graphic.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait EllipseDrawtrait CanvElemtrait ShapeDrawtrait CircleGraphicSimpletrait EllipseGraphicSimpletrait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait CircleGraphictrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
A simple single colour fill of a circle graphic.
A simple single colour fill of a circle graphic.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait EllipseFilltrait CanvElemtrait ShapeFilltrait CircleGraphicSimpletrait EllipseGraphicSimpletrait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait CircleGraphictrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ShapeFillIcontrait ShapeGraphicIconclass Objecttrait Matchableclass Any
A circle based Graphic, may be simple or compound.
A circle based Graphic, may be simple or compound.
Attributes
- Graph
- Supertypes
- trait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
A Simple circle based graphic. Not sure if this trait is useful.
A Simple circle based graphic. Not sure if this trait is useful.
Attributes
- Graph
- Supertypes
- trait EllipseGraphicSimpletrait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait CircleGraphictrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CircleDrawclass CircleFill
This just a temporary start.
This just a temporary start.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Cross.type
Attributes
- Graph
- Supertypes
- Known subtypes
- class DrawFacet
A segment of a curve that could be used in a closed shape or curve path. The names start and end are used in CurveSeg and its sub classes to provide consistent naming across line segments LineSegs, circular arcs CArcs, elliptical arcs EArcs and Square and cubic beziers Beziers, which require different numbers of points in their specification.
A segment of a curve that could be used in a closed shape or curve path. The names start and end are used in CurveSeg and its sub classes to provide consistent naming across line segments LineSegs, circular arcs CArcs, elliptical arcs EArcs and Square and cubic beziers Beziers, which require different numbers of points in their specification.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
This class needs replacing.
This class needs replacing.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Dbl7Arr[DistCurveTail]trait Dbl7SeqLike[DistCurveTail]trait DblNArr[DistCurveTail]trait ValueNArr[DistCurveTail]trait ArrNoParam[DistCurveTail]trait Arr[DistCurveTail]trait Sequ[DistCurveTail]trait SeqNoName[DistCurveTail]trait DblNSeqLike[DistCurveTail]trait ArrayDblBackedtrait SpecialTtrait ValueNSeqLike[DistCurveTail]trait SeqLike[DistCurveTail]class AnyValtrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CurveSegDists.type
Attributes
- Graph
- Supertypes
- Known subtypes
Graphic based on a CurveSeg.
Graphic based on a CurveSeg.
Attributes
- Graph
- Supertypes
- Known subtypes
- trait CurveSegDrawclass BezierDrawtrait EArcDrawclass CArcDrawclass EArcDrawImpclass DashedLineDrawclass LineSegDraw
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class CArcTail
A CurveSeg can be a line segment or an arc segment or a bezier segment without its starting point, which is supplied by the previous curveTail. It takes its start point from the pEnd of the previous segment. There is no CurveSeg companion object as the LineSeg, ArcSeg and BezierSeg all have their own factory object apply methods.
A CurveSeg can be a line segment or an arc segment or a bezier segment without its starting point, which is supplied by the previous curveTail. It takes its start point from the pEnd of the previous segment. There is no CurveSeg companion object as the LineSeg, ArcSeg and BezierSeg all have their own factory object apply methods.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait AffinePreservetrait SimilarPreservetrait ProlignPreservetrait GeomElemtrait Dbl7Elemtrait DblNElemtrait ValueNElemtrait SpecialTclass Objecttrait Matchableclass Any
This class will be replaced but extends CanvElem as a temporary measure.
This class will be replaced but extends CanvElem as a temporary measure.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait CanvElemtrait AffinePreservetrait SimilarPreservetrait ProlignPreservetrait CurveSegGraphictrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- DashedLineDraw.type
Needs removing. A base trait for DistCurveSeg and DistCurveTail and their associated GraphicElemsDist (these haven't been implemented or precisely named yet).
Needs removing. A base trait for DistCurveSeg and DistCurveTail and their associated GraphicElemsDist (these haven't been implemented or precisely named yet).
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class DistCurveTail
Needs removing. A curve segment tail described in distance units rather than scalars. A DistCurveSeg without its starting point which will normally be supplied by the preceding DistCurveTail.
Needs removing. A curve segment tail described in distance units rather than scalars. A DistCurveSeg without its starting point which will normally be supplied by the preceding DistCurveTail.
Attributes
- Graph
- Supertypes
- trait DistCurveSegLiketrait Dbl7Elemtrait DblNElemtrait ValueNElemtrait SpecialTclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait CurveFacettrait GraphicFacetclass Objecttrait Matchableclass Any
A 2D geometric element that can be drawn producing a GraphicElem.
A 2D geometric element that can be drawn producing a GraphicElem.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- trait CurveSegclass Beziertrait EArcclass EArcImptrait EArclignclass CArcclass EArclignImpclass LineSegtrait Fillabletrait Shapetrait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plustrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Quadrilateraltrait Rectangletrait PhiRectangleclass PhiRectclass PhiRectYclass PhiRectangleImptrait Rectclass RectImpclass Sqlignclass RectangleImptrait Squareclass SquareImptrait Triangleclass TriangleImptrait TriangleIsosclass TriangleEquiclass TriangleIsosGenclass PolygonGentrait PolygonYMirrortrait ShapeCentredtrait Ellipseclass EllipseImptrait Ellipselignclass Circleclass EllipselignImpclass ShapeGentrait ShapeOrdinaled
Companion object for the Drawable trait contains implicit instances for various 2D geometric transformation type classes.
Elliptical Arc. the trait has 2 implementations CArc and EArc.EArcImp.
Elliptical Arc. the trait has 2 implementations CArc and EArc.EArcImp.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait CurveSegtrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
2D graphic that draws an arc of an ellipse. The trait has 2 implementations, CArcdraw, a cirular arc draw and the general case is implemented with EArcDraw.EArcDrawImp.
2D graphic that draws an arc of an ellipse. The trait has 2 implementations, CArcdraw, a cirular arc draw and the general case is implemented with EArcDraw.EArcDrawImp.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait CanvElemtrait CurveSegDrawtrait CurveSegGraphictrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CArcDrawclass EArcDrawImp
Companion object ofr the EArcDraw trait, contins the general implementation class EArcDrawImp and an apply factor method that delegates to EArcDrawImp.
Companion object ofr the EArcDraw trait, contins the general implementation class EArcDrawImp and an apply factor method that delegates to EArcDrawImp.
Attributes
An arc based on an ellipse whose axes are aligned to the X and Y axes. This is a trait as the EArclign.EArclignImp and CArc classes both fulfill this interface.
An arc based on an ellipse whose axes are aligned to the X and Y axes. This is a trait as the EArclign.EArclignImp and CArc classes both fulfill this interface.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait EArctrait CurveSegtrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CArcclass EArclignImp
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]].
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 Any
- Known subtypes
Companion object for the Ellipse trait contains the EllipseImp implementation class and factory methods for Ellipse that delegate to EllipseImp.
Common trait for Ellipse and EArc. The main purpose of this trait is not to share code, but to establish naming conventions for elliptical properties.
Common trait for Ellipse and EArc. The main purpose of this trait is not to share code, but to establish naming conventions for elliptical properties.
Attributes
- Graph
- Supertypes
- Known subtypes
- trait EArcclass EArcImptrait EArclignclass CArcclass EArclignImptrait Ellipseclass EllipseImptrait Ellipselignclass Circleclass EllipselignImp
Compound graphic trait for an ellipse. The final sub classes of this trait are CircleCompound andEllipse.EllipseImp.
Compound graphic trait for an ellipse. The final sub classes of this trait are CircleCompound andEllipse.EllipseImp.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeCompoundtrait NoCanvElemtrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CircleCompoundclass EllipseCompoundImplement
Companion object for the EllipseCompound trait contains factory apply method and implicit instances for the 2D geometric transformations.
Companion object for the EllipseCompound trait contains factory apply method and implicit instances for the 2D geometric transformations.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- EllipseCompound.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait CanvElemtrait ShapeDrawtrait EllipseGraphicSimpletrait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CircleDrawclass EllipseDrawImp
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- EllipseDraw.type
A simple single colour fill of a circle graphic.
A simple single colour fill of a circle graphic.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait CanvElemtrait ShapeFilltrait EllipseGraphicSimpletrait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class CircleFillclass EllipseFillImp
Companion object for the EllipseFill class.
Companion object for the EllipseFill class.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- EllipseFill.type
An Ellipse based Graphic. The Ellipse can be defined as a circle.
An Ellipse based Graphic. The Ellipse can be defined as a circle.
Attributes
- Graph
- Supertypes
- trait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait CircleGraphicclass CircleCompoundtrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseCompoundclass EllipseCompoundImplementtrait EllipseGraphicSimpletrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImp
A Simple circle based graphic. Not sure if this trait is useful.
A Simple circle based graphic. Not sure if this trait is useful.
Attributes
- Graph
- Supertypes
- trait SimilarAffPreservetrait SimilarPreservetrait ProlignPreservetrait ShapeGraphicSimpletrait GraphicSimpletrait EllipseGraphictrait ShapeGraphicCentredtrait CentredElemtrait WithCentretrait ShapeGraphictrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImp
An ellipse whose axes are aligned to the X and Y axes. This is a trait as both Circle and Ellipselign.EllipselignImp classes implement this interface.
An ellipse whose axes are aligned to the X and Y axes. This is a trait as both Circle and Ellipselign.EllipselignImp classes implement this interface.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Ellipsetrait ShapeCentredtrait CentredElemtrait Shapetrait BoundedElemtrait Fillabletrait Drawabletrait EllipseBasedtrait WithCentretrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class Circleclass EllipselignImp
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Ellipselign.type
Attributes
- Graph
- Supertypes
- trait GraphicFacetclass Any
- Known subtypes
- class Colourclass FillRadial
Starting off with simplified. Radial Gradient. Will expand later.
Starting off with simplified. Radial Gradient. Will expand later.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait FillFacettrait GraphicFacetclass Objecttrait Matchableclass Any
A 2D geometric element that can be drawn and filled producing GraphicElems.
A 2D geometric element that can be drawn and filled producing GraphicElems.
Attributes
- Graph
- Supertypes
- Known subtypes
- trait Shapetrait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plustrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Quadrilateraltrait Rectangletrait PhiRectangleclass PhiRectclass PhiRectYclass PhiRectangleImptrait Rectclass RectImpclass Sqlignclass RectangleImptrait Squareclass SquareImptrait Triangleclass TriangleImptrait TriangleIsosclass TriangleEquiclass TriangleIsosGenclass PolygonGentrait PolygonYMirrortrait ShapeCentredtrait Ellipseclass EllipseImptrait Ellipselignclass Circleclass EllipselignImpclass ShapeGentrait ShapeOrdinaled
Indicates the forward mouse button was pressed.
Indicates the forward mouse button was pressed.
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass MouseButtonclass Objecttrait Matchableclass Any
- Self type
- ForwardButton.type
A 2D geometric element to which 2D geometric transformations can be applied. Not all elements preserve their full properties under all transformations. So for example a Circle is no longer a Circle after a Shear transformation, but remains an Ellipse. GraphicElem inherits from GeomElem. A Circle is not a GraphicElem but if we add a fill colour to make a CircleFill, or a line width and line colour to it, we have a GraphicElem a graphical element that can be displayed on a canvas or output to SVG. It is expected that all elements that inherit from GeomElem that are not GraphicElems will be Drawable elements, but this has not been finalised.
A 2D geometric element to which 2D geometric transformations can be applied. Not all elements preserve their full properties under all transformations. So for example a Circle is no longer a Circle after a Shear transformation, but remains an Ellipse. GraphicElem inherits from GeomElem. A Circle is not a GraphicElem but if we add a fill colour to make a CircleFill, or a line width and line colour to it, we have a GraphicElem a graphical element that can be displayed on a canvas or output to SVG. It is expected that all elements that inherit from GeomElem that are not GraphicElems will be Drawable elements, but this has not been finalised.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Any
- Known subtypes
- trait AxisFreeclass CArcDrawclass Circleclass CircleCompoundclass EllipseImpclass EllipseCompoundImplementclass PolygonCompoundImpclass RectangleCompoundImpclass ShapeGenclass ShapeGenDrawOldclass ShapeGenFillOldclass TriangleEquiclass TriangleIsosGentrait BoundedElemtrait CentredElemtrait OrdinaledElemtrait ShapeGraphicOrdinaledtrait RectGraphicclass RectCompoundtrait RectGraphicSimpletrait RectFillclass RectFillImptrait ShapeOrdinaledtrait Rectclass PhiRectclass PhiRectYclass RectImpclass Sqligntrait ShapeCentredtrait Ellipsetrait Ellipselignclass EllipselignImptrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Rectangletrait PhiRectangleclass PhiRectangleImpclass RectangleImptrait Squareclass SquareImptrait ShapeGraphicCentredtrait EllipseGraphictrait CircleGraphictrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseCompoundtrait EllipseGraphicSimpletrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImptrait RectangleGraphictrait RectangleCompoundtrait RectangleGraphicSimpletrait RectangleDrawclass RectangleDrawImptrait RectangleFillclass RectangleFillImptrait GraphicBoundedtrait GraphicActivetrait GraphicActiveOldtrait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicClickableclass PolygonActivetrait GraphicBoundedSimertrait GraphicBoundedAffinetrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTexttrait PolygonGraphictrait PolygonCompoundtrait PolygonGraphicSimpletrait PolygonDrawclass PolygonDrawImptrait PolygonFillclass PolygonFillImpclass TriangleFilltrait TriangleGraphicSimpletrait TriangleGraphictrait ShapeGraphictrait ShapeCompoundtrait ShapeGraphicSimpletrait ShapeDrawtrait CanvShapeDrawtrait ShapeFilltrait CanvShapeFilltrait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plustrait Quadrilateraltrait Triangleclass TriangleImptrait TriangleIsosclass PolygonGentrait PolygonYMirrortrait Shapetrait Drawabletrait CurveSegclass Beziertrait EArcclass EArcImptrait EArclignclass CArcclass EArclignImpclass LineSegtrait Fillabletrait EllipseBasedtrait GraphicElemtrait CanvElemclass BezierDrawclass DashedLineDrawtrait EArcDrawclass EArcDrawImpclass LinePathDrawclass LineSegDrawclass LinesDrawclass TextGraphictrait CurveSegGraphictrait CurveSegDrawtrait GraphicSimElemtrait GraphicAffineElemclass TextOutlinetrait GraphicSimpletrait NoCanvElemtrait LineLiketrait Lineclass XLineclass XParallelobject XAxis.typeobject YAxis.typetrait XorYAxisclass YLineclass YParallelclass Raytrait ProlignPreservetrait SimilarPreservetrait AffinePreserveclass CurveTailclass LinePathclass LineSegArrclass PolyCurveCentredclass Pt2Arrclass ShapeGenOldtrait SimilarAffPreserve
Companion object for the GeomElem trait. Contains implicit instances of type GeomElem for all the 2D geometric transformation type classes.
Attributes
- Graph
- Supertypes
- trait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait GraphicActiveOldtrait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicClickableclass PolygonActive
This trait will be removed. The base trait for all objects that can have mouse / touch pad interaction.
This trait will be removed. The base trait for all objects that can have mouse / touch pad interaction.
Attributes
- Graph
- Supertypes
- trait GraphicActivetrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOld
The base trait for all objects that can have mouse / touch pad interaction.
The base trait for all objects that can have mouse / touch pad interaction.
Attributes
- Graph
- Supertypes
- trait GraphicActiveOldtrait GraphicActivetrait GraphicBoundedSimertrait GraphicBoundedtrait BoundedElemtrait GraphicSimElemtrait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
A DisplayElem for which all leaf elements of this trait maintain their type through all affine transformation. This type is purely for the convenience of using the fTrans method to perform all the affine transformations. It is not a useful user type hence it has no type class instances associated with it.
A DisplayElem for which all leaf elements of this trait maintain their type through all affine transformation. This type is purely for the convenience of using the fTrans method to perform all the affine transformations. It is not a useful user type hence it has no type class instances associated with it.
Attributes
- Graph
- Supertypes
- trait AffinePreservetrait GraphicSimElemtrait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class BezierDrawtrait GraphicBoundedAffinetrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTextclass LinePathDrawclass LinesDrawclass PolygonActiveclass TextGraphicclass TextOutline
This trait is for layout. For placing Display elements in rows and columns. It includes PolygonGraphic and ShapeGraphics but not Line and Curve graphics.
This trait is for layout. For placing Display elements in rows and columns. It includes PolygonGraphic and ShapeGraphics but not Line and Curve graphics.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- trait GraphicActivetrait GraphicActiveOldtrait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicClickableclass PolygonActivetrait GraphicBoundedSimertrait GraphicBoundedAffinetrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTexttrait PolygonGraphictrait PolygonCompoundclass PolygonCompoundImptrait RectangleCompoundclass RectCompoundclass RectangleCompoundImptrait PolygonGraphicSimpletrait PolygonDrawclass PolygonDrawImptrait RectangleDrawclass RectangleDrawImptrait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFilltrait RectangleGraphicSimpletrait RectGraphicSimpletrait TriangleGraphicSimpletrait RectangleGraphictrait RectGraphictrait TriangleGraphictrait ShapeGraphictrait ShapeCompoundtrait EllipseCompoundclass CircleCompoundclass EllipseCompoundImplementtrait ShapeGraphicCentredtrait EllipseGraphictrait CircleGraphictrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseGraphicSimpletrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImptrait ShapeGraphicOrdinaledtrait ShapeGraphicSimpletrait ShapeDrawtrait CanvShapeDrawtrait ShapeFilltrait CanvShapeFill
Companion object for the BoundedGraphic trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Companion object for the BoundedGraphic trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- GraphicBounded.type
This trait is for layout. For placing Display elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
This trait is for layout. For placing Display elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
Attributes
- Graph
- Supertypes
- trait GraphicAffineElemtrait AffinePreservetrait GraphicBoundedSimertrait GraphicBoundedtrait BoundedElemtrait GraphicSimElemtrait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawText
This trait is for layout. For placing Display elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
This trait is for layout. For placing Display elements in rows and columns. It includes polygon and shape graphics but not line and curve graphics.
Attributes
- Graph
- Supertypes
- trait GraphicBoundedtrait BoundedElemtrait GraphicSimElemtrait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicBoundedAffinetrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawText
This is the new active trait that will replace GraphicActive.
This is the new active trait that will replace GraphicActive.
Attributes
- Graph
- Supertypes
- trait GraphicActivetrait GraphicBoundedtrait BoundedElemtrait GraphicElemtrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class PolygonActive
This will be sealed in due course. A graphic element is either an element that can be rendered to a display (or printed) or is an active element in a display or both. So I think the self type will force all GraphicElems to extend CanvElem or NoCanvElem.
This will be sealed in due course. A graphic element is either an element that can be rendered to a display (or printed) or is an active element in a display or both. So I think the self type will force all GraphicElems to extend CanvElem or NoCanvElem.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- trait CanvElemclass BezierDrawtrait CanvShapeDrawtrait PolygonDrawclass PolygonDrawImptrait RectangleDrawclass RectangleDrawImptrait CanvShapeFilltrait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFillclass CircleFillclass DashedLineDrawtrait EArcDrawclass CArcDrawclass EArcDrawImptrait EllipseDrawclass CircleDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImpclass LinePathDrawclass LineSegDrawclass LinesDrawclass ShapeGenDrawOldclass ShapeGenFillOldclass TextGraphictrait CurveSegGraphictrait CurveSegDrawtrait GraphicBoundedtrait GraphicActivetrait GraphicActiveOldtrait GraphicActiveSimtrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait GraphicClickableclass PolygonActivetrait GraphicBoundedSimertrait GraphicBoundedAffinetrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTexttrait PolygonGraphictrait PolygonCompoundclass PolygonCompoundImptrait RectangleCompoundclass RectCompoundclass RectangleCompoundImptrait PolygonGraphicSimpletrait RectangleGraphicSimpletrait RectGraphicSimpletrait TriangleGraphicSimpletrait RectangleGraphictrait RectGraphictrait TriangleGraphictrait ShapeGraphictrait ShapeCompoundtrait EllipseCompoundclass CircleCompoundclass EllipseCompoundImplementtrait ShapeGraphicCentredtrait EllipseGraphictrait CircleGraphictrait CircleGraphicSimpletrait EllipseGraphicSimpletrait ShapeGraphicOrdinaledtrait ShapeGraphicSimpletrait ShapeDrawtrait ShapeFilltrait GraphicSimElemtrait GraphicAffineElemclass TextOutlinetrait GraphicSimpletrait NoCanvElem
Companion object for the DisplayElem trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Companion object for the DisplayElem trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- GraphicElem.type
Attributes
- Graph
- Supertypes
- class Any
- Known subtypes
- trait CurveFacetclass DrawFacettrait FillFacetclass Colourclass FillRadialclass ShapeActiveclass TextFacet
This is an active visual canvas object. A pointable polygon / shape with visual, that also knows how much display space it needs and preferred margin space. Not sure about the name. not sure if the trait is useful.
This is an active visual canvas object. A pointable polygon / shape with visual, that also knows how much display space it needs and preferred margin space. Not sure about the name. not sure if the trait is useful.
Attributes
- Graph
- Supertypes
- trait GraphicBoundedAffinetrait GraphicActiveSimtrait GraphicActiveOldtrait GraphicActivetrait GraphicBoundedSimertrait GraphicBoundedtrait BoundedElemtrait GraphicAffineElemtrait AffinePreservetrait GraphicSimElemtrait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- class PolyCurveParentFull
A DisplayElem for which all leaf elements of this trait maintain their type through all similar transformation. This type is purely for the convenience of using the fTrans method to perform all the Similar transformations. It is not a useful user type hence it has no type class instances associated with it.
A DisplayElem for which all leaf elements of this trait maintain their type through all similar transformation. This type is purely for the convenience of using the fTrans method to perform all the Similar transformations. It is not a useful user type hence it has no type class instances associated with it.
Attributes
- Graph
- Supertypes
- trait GraphicElemtrait SimilarPreservetrait ProlignPreservetrait GeomElemclass Objecttrait Matchableclass Any
- Known subtypes
- trait GraphicAffineElemclass BezierDrawtrait GraphicBoundedAffinetrait GraphicParentFullclass PolyCurveParentFulltrait PolyCurveActiveclass PolyCurveAllOldtrait PolyCurveElemclass PolyCurveDrawclass PolyCurveFillclass PolyCurveFillDrawclass PolyCurveFillDrawTextclass LinePathDrawclass LinesDrawclass PolygonActiveclass TextGraphicclass TextOutlinetrait GraphicBoundedSimertrait GraphicActiveSim
GraphicSimple is a non compound graphic element that can be rendered to a display (or printed) or is an active element in a display, but can't be both that require a GraphicCompound.
GraphicSimple is a non compound graphic element that can be rendered to a display (or printed) or is an active element in a display, but can't be both that require a GraphicCompound.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- trait ShapeGraphicSimpletrait EllipseGraphicSimpletrait CircleGraphicSimpleclass CircleDrawclass CircleFilltrait EllipseDrawclass EllipseDrawImptrait EllipseFillclass EllipseFillImptrait PolygonGraphicSimpleclass PolygonActivetrait PolygonDrawclass PolygonDrawImptrait RectangleDrawclass RectangleDrawImptrait PolygonFillclass PolygonFillImptrait RectangleFilltrait RectFillclass RectFillImpclass RectangleFillImpclass TriangleFilltrait RectangleGraphicSimpletrait RectGraphicSimpletrait TriangleGraphicSimpletrait ShapeDrawtrait CanvShapeDrawtrait ShapeFilltrait CanvShapeFill
Companion object for the GraphicSimple trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Companion object for the GraphicSimple trait. Contains Implicit instances for 2d geometrical transformation type-classes.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- GraphicSimple.type
Regular Hexagon where two of the sides are parallel to the X Axis
Regular Hexagon where two of the sides are parallel to the X Axis
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait TypeStrNtrait ShowNtrait Hexligntrait HexRegtrait ShowDectrait Showtrait TypeStrtrait Polygon6Plustrait Polygon5Plustrait Polygon4Plustrait Polygon3Plustrait Polygontrait PolygonLikeDbl2[Pt2]trait PolygonLikeDblN[Pt2]trait PolygonValueN[Pt2]trait PolygonLike[Pt2]trait Pt2SeqSpectrait Dbl2SeqSpec[Pt2]trait DblNSeqSpec[Pt2]trait ValueNSeqSpec[Pt2]trait Pt2SeqLiketrait Dbl2SeqLike[Pt2]trait DblNSeqLike[Pt2]trait ArrayDblBackedtrait SpecialTtrait ValueNSeqLike[Pt2]trait PointDbl2SeqLike[Pt2]trait PointDblNSeqLike[Pt2]trait PointSeqLike[Pt2]trait Equalstrait ShapeCentredtrait CentredElemtrait WithCentretrait Shapetrait BoundedElemtrait Fillable