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

Safe HaskellNone
LanguageHaskell98

HTk.Canvasitems.Polygon

Description

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

Synopsis

Documentation

data Polygon Source #

The Polygon datatype.

Instances

Eq Polygon Source # 

Methods

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

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

Destroyable Polygon Source #

An polygon item can be destroyed.

Methods

destroy :: Polygon -> IO () #

Synchronized Polygon Source #

You can synchronize on a polygon item.

Methods

synchronize :: Polygon -> IO b -> IO b #

GUIObject Polygon Source #

Internal.

SegmentedCanvasItem Polygon Source #

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

FilledCanvasItem Polygon Source #

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

CanvasItem Polygon Source #

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

TaggedCanvasItem Polygon Source #

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

createPolygon Source #

Arguments

:: Canvas

the parent canvas.

-> [Config Polygon]

the list of configuration options for this polygon item.

-> IO Polygon

A polygon item.

Constructs a new polygon item.