Arrow

ostrat.geom.Arrow
object Arrow

Object for producing arrow graphics to point at objects in diagrams.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Arrow.type

Members list

Value members

Concrete methods

def apply(startPt: Pt2, endPt: Pt2, headAngle: AngleVec, hypLength: Double, lineWidth: Double, lineColour: Colour): RArr[GraphicElem]
def headVerts(startPt: Pt2, endPt: Pt2, headAngle: AngleVec, hypLength: Double): (Pt2, Pt2)
def paint(startPt: Pt2, endPt: Pt2, headAngle: AngleVec, hypLength: Double, colour: Colour, lineWidth: Double): RArr[GraphicSvgElem]

Draws a line from the start to the end point parameters and adds a triangle fill to the end point to create an arrow head.

Draws a line from the start to the end point parameters and adds a triangle fill to the end point to create an arrow head.

Attributes