uni-htk-2.2.1.3: Graphical User Interface for Haskell Programs

Safe HaskellNone
LanguageHaskell98

HTk.Canvasitems.Line

Description

HTk's line canvas item. A line object on a canvas widget.

Synopsis

Documentation

data Line Source #

The Line datatype.

Instances

Eq Line Source # 

Methods

(==) :: Line -> Line -> Bool #

(/=) :: Line -> Line -> Bool #

Destroyable Line Source #

A line item can be destroyed.

Methods

destroy :: Line -> IO () #

Synchronized Line Source #

You can synchronize on a line item.

Methods

synchronize :: Line -> IO b -> IO b #

GUIObject Line Source #

Internal.

HasSize Line Source #

You can specify the width of the line.

SegmentedCanvasItem Line Source #

A line is a segmented canvas item. It has a splinesteps and smooth configuration.

FilledCanvasItem Line Source #

A line item has filling, outline width and stipple configurations.

CanvasItem Line Source #

A line item is a canvas item (any canvas item is an instance of the abstract class CanvasItem).

TaggedCanvasItem Line Source #

A line item can have several tags (handlers for a set of canvas items).

Methods

tags :: [CanvasTag] -> Config Line Source #

createLine Source #

Arguments

:: 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 Source #

Sets the shape of the arrows at the ends of a line.

getArrowshape :: Line -> IO ArrowShape Source #

Gets the shape of the arrows at the end of a line.

arrowstyle :: ArrowHead -> Config Line Source #

Sets the style of the arrows at the ends of a line.

getArrowstyle :: Line -> IO ArrowHead Source #

Gets the style of the arrows at the ends of a line.

capstyle :: CapStyle -> Config Line Source #

Sets the capstyle at the ends of a line (butt, projecting or round).

getCapstyle :: Line -> IO CapStyle Source #

Gets the capstyle at the ends of a line.

joinstyle :: JoinStyle -> Config Line Source #

Sets the joinstyle between the line segments (bevel, miter or round).

getJoinstyle :: Line -> IO JoinStyle Source #

Gets the joinstyle between the line segments.