Maintainer | diagrams-discuss@googlegroups.com |
---|---|
Safe Haskell | None |
Standard arrowheads and tails. Each arrowhead or tail is designed to be drawn filled, with a line width of 0, and is normalized to fit inside a circle of diameter 1.
- tri :: ArrowHT
- dart :: ArrowHT
- spike :: ArrowHT
- thorn :: ArrowHT
- missile :: ArrowHT
- noHead :: ArrowHT
- arrowheadTriangle :: Angle -> ArrowHT
- arrowheadDart :: Angle -> ArrowHT
- arrowheadSpike :: Angle -> ArrowHT
- arrowheadThorn :: Angle -> Double -> ArrowHT
- arrowheadMissile :: Angle -> ArrowHT
- tri' :: ArrowHT
- dart' :: ArrowHT
- spike' :: ArrowHT
- thorn' :: ArrowHT
- missile' :: ArrowHT
- noTail :: ArrowHT
- quill :: ArrowHT
- block :: ArrowHT
- arrowtailQuill :: Angle -> ArrowHT
- arrowtailBlock :: Angle -> ArrowHT
- type ArrowHT = Double -> Double -> (Path R2, Path R2)
Arrowheads
Standard arrowheads
Configurable arrowheads
Creates arrowheads of the same shape as the standard heads but where the angle parameter is used to specify the angle to the top left point of the arrowhead.
arrowheadTriangle :: Angle -> ArrowHTSource
Isoceles triangle style. The above example specifies an angle of `2/5 Turn`.
arrowheadDart :: Angle -> ArrowHTSource
Isoceles triangle with linear concave base. Inkscape type 1 - dart like.
arrowheadSpike :: Angle -> ArrowHTSource
Isoceles triangle with curved concave base. Inkscape type 2.
arrowheadThorn :: Angle -> Double -> ArrowHTSource
Curved sides, linear concave base. Illustrator CS5 #3
Arrow tails
Standard arrow tails
Configurable arrow tails
arrowtailQuill :: Angle -> ArrowHTSource
The angle is where the top left corner intersects the circle.
arrowtailBlock :: Angle -> ArrowHTSource