wumpus-drawing-0.7.0: High-level drawing objects built on Wumpus-Basic.

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Wumpus.Drawing.Connectors.BoxConnectors

Description

Box connectors

Synopsis

Documentation

type ConnectorBox u = ConnectorGraphic uSource

The type of BoxConnectors - a query from start and end point to a Path.

Note - unlike a Connector, a BoxConnnector is expected to be closed, then filled, stroked or bordered.

connbox :: (Real u, Floating u, InterpretUnit u) => ConnectorProps -> ConnectorBox uSource

Draw a stroked, rectangular box around the connector points.

The rectangle will be inclined to the line.