wumpus-basic-0.21.0: Basic objects and system code built on Wumpus-Core.

PortabilityGHC
Stabilityhighly unstable
Maintainerstephen.tetley@gmail.com

Wumpus.Basic.Kernel.Objects.Connector

Description

ConnImage and ConnGraphic types - these are functional types from the DrawingContext plus start point and end point to a graphic primitive.

Synopsis

Documentation

data ConnectorImage u a Source

ConnectorImage - function from DrawingContext and start and end points to a polymorphic answer and a graphic primitive.

type DConnectorImage a = ConnectorImage Double aSource

Type specialized version of ConnectorImage.

emptyConnectorImage :: Monoid a => ConnectorImage u aSource

Having empty at the specific ConnectorImage type is useful.