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

Safe HaskellNone
LanguageHaskell98

HTk.Canvasitems.Arc

Description

HTk's arc canvas item. An arc object on a canvas widget.

Synopsis

Documentation

data Arc Source

The Arc datatype.

Instances

Eq Arc 
Destroyable Arc

An arc item can be destroyed.

Synchronized Arc

You can synchronize on an arc item.

GUIObject Arc

Internal.

HasGeometry Arc

An alternative way to specify arc's coords.

HasPosition Arc

You can specify the (upper left) position of an arc.

HasSize Arc

You can specify the size of an arc.

FilledCanvasItem Arc

An arc is a filled canvas item (it has filling, outline, outline width, and stipple configurations).

CanvasItem Arc

An arc is a canvas item (any canvas item is an instance of the abstract class CanvasItem).

TaggedCanvasItem Arc

An arc item can have several tags (handlers for a set of canvas items).

createArc Source

Arguments

:: Canvas

the parent canvas.

-> [Config Arc]

the list of configuration options for this arc.

-> IO Arc

An arc item.

Constructs a new arc item.

extent :: Degree -> Config Arc Source

Sets the length of an arc in counter-clockwise direction.

getExtent :: Arc -> IO Degree Source

Gets the length of an arc in counter-clockwise direction.

start :: Degree -> Config Arc Source

Sets the starting angle of an arc.

getStart :: Arc -> IO Degree Source

Gets the starting angle of an arc.