TriangleGraphicSimple

trait GeomElem
class Object
trait Matchable
class Any

Value members

Inherited methods

final override def attribs: Arr[XmlAtt]
Definition Classes
Inherited from:
ShapeGraphicSimple
Inherited from:
BoundedElem
final def boundCen: Pt2

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Inherited from:
BoundedElem
Inherited from:
BoundedElem

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Inherited from:
BoundedElem
Inherited from:
BoundedElem

If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.

Inherited from:
BoundedElem
def foreachVert(f: Pt2 => Unit): Unit
Inherited from:
PolygonGraphic

Checks for 2 or more vertices

Checks for 2 or more vertices

Inherited from:
PolygonGraphic

Checks for 3 or more vertices

Checks for 3 or more vertices

Inherited from:
PolygonGraphic

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Definition Classes
Inherited from:
PolygonGraphicSimple

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Definition Classes
Inherited from:
PolygonGraphicSimple

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Renders this functional immutable GraphicElem, using the imperative methods of the abstract pCanv.CanvasPlatform interface.

Inherited from:
GraphicElem
override def scale(operand: Double): PolygonGraphicSimple

Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.

Uniform scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.

Definition Classes
Inherited from:
PolygonGraphicSimple
override def shape: Triangle
Definition Classes
Inherited from:
TriangleGraphic
Inherited from:
ShapeGraphic
override def slateXY(xDelta: Double, yDelta: Double): PolygonGraphicSimple

Translate geometric transformation.

Translate geometric transformation.

Definition Classes
Inherited from:
PolygonGraphicSimple
override def svgElem(bounds: BoundingRect): SvgElem
final def svgInline: String
Inherited from:
ShapeGraphic
final def svgJustElem: SvgElem
Inherited from:
ShapeGraphic
def svgOut(indent: Int, linePosn: Int, lineLen: Int): String
Inherited from:
ShapeGraphic
Inherited from:
BoundedElem
Inherited from:
BoundedElem
def vertsMap[A, ArrT <: SeqImut[A]](f: Pt2 => A)(implicit build: ArrBuilder[A, ArrT]): ArrT
Inherited from:
PolygonGraphic

The number of vertices.

The number of vertices.

Inherited from:
PolygonGraphic
def x1: Double
Inherited from:
PolygonGraphic
def y1: Double
Inherited from:
PolygonGraphic