|
|
|
|
|
| Description |
| HTk's line canvas item.
A line object on a canvas widget. |
|
| Synopsis |
|
|
|
| Documentation |
|
| module CanvasItem |
|
| data ArrowHead |
| The ArrowHead datatype (see Line.arrowstyle). | | Constructors | | BothEnds | | | LastEnd | | | FirstEnd | | | NoHead | |
| | Instances | |
|
|
| data CapStyle |
| Constructors | | CapRound | | | CapProjecting | | | CapButt | |
| | Instances | |
|
|
| data JoinStyle |
| Constructors | | JoinRound | | | JoinMiter | | | JoinBevel | |
| | Instances | |
|
|
| data Line |
| The Line datatype. |
|
| createLine |
| :: Canvas | the parent canvas. | | -> [Config Line] | the list of configuration options for this line item. | | -> IO Line | A line item. | | Constructs a new line item. |
|
|
| arrowshape :: ArrowShape -> Config Line |
| Sets the shape of the arrows at the ends of a line. |
|
| getArrowshape :: Line -> IO ArrowShape |
| Gets the shape of the arrows at the end of a line. |
|
| arrowstyle :: ArrowHead -> Config Line |
|
| getArrowstyle :: Line -> IO ArrowHead |
| Gets the style of the arrows at the ends of a line. |
|
| capstyle :: CapStyle -> Config Line |
| Sets the capstyle at the ends of a line (butt, projecting or round). |
|
| getCapstyle :: Line -> IO CapStyle |
| Gets the capstyle at the ends of a line. |
|
| joinstyle :: JoinStyle -> Config Line |
| Sets the joinstyle between the line segments (bevel, miter or round). |
|
| getJoinstyle :: Line -> IO JoinStyle |
| Gets the joinstyle between the line segments. |
|
| Produced by Haddock version 0.3 |