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

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Safe HaskellSafe-Infered

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.

conn_box :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec uSource

Draw a stroked, rectangular box around the connector points.

The rectangle will be inclined to the line.

conn_tube :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec uSource

Draw a stroked, tube around the connector points.

The tube will be inclined to the line.

conn_chamf_box :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec uSource

Draw a stroked, chamfered box around the connector points.

The tube will be inclined to the line.