uni-htk-2.2.1.3: 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 Source # 

Methods

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

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

Destroyable Arc Source #

An arc item can be destroyed.

Methods

destroy :: Arc -> IO () #

Synchronized Arc Source #

You can synchronize on an arc item.

Methods

synchronize :: Arc -> IO b -> IO b #

GUIObject Arc Source #

Internal.

HasGeometry Arc Source #

An alternative way to specify arc's coords.

HasPosition Arc Source #

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

HasSize Arc Source #

You can specify the size of an arc.

FilledCanvasItem Arc Source #

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

CanvasItem Arc Source #

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

TaggedCanvasItem Arc Source #

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

Methods

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

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.