Arrow

object Arrow

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

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(startPt: Pt2, endPt: Pt2, headAngle: AngleVec, hypLength: Double, lineWidth: Double, lineColour: Colour): Arr[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): GraphicElems

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.