Source codeContentsIndex
Arc
Description
HTk's arc canvas item. An arc object on a canvas widget.
Synopsis
module CanvasItem
data Arc
createArc :: Canvas -> [Config Arc] -> IO Arc
extent :: Degree -> Config Arc
getExtent :: Arc -> IO Degree
start :: Degree -> Config Arc
getStart :: Arc -> IO Degree
Documentation
module CanvasItem
data Arc
The Arc datatype.
createArc
:: 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
Sets the length of an arc in counter-clockwise direction.
getExtent :: Arc -> IO Degree
Gets the length of an arc in counter-clockwise direction.
start :: Degree -> Config Arc
Sets the starting angle of an arc.
getStart :: Arc -> IO Degree
Gets the starting angle of an arc.
Produced by Haddock version 0.3