Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Safe Haskell | Safe-Infered |
Wumpus.Drawing.Connectors.BoxConnectors
Description
Box connectors
- type ConnectorBox u = ConnectorGraphic u
- newtype ConnectorBoxSpec u = ConnectorBoxSpec {}
- renderConnectorBoxSpec :: (Real u, Floating u, InterpretUnit u) => ConnectorProps -> ConnectorBoxSpec u -> ConnectorBox u
- conn_box :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec u
- conn_tube :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec u
- conn_chamf_box :: (Real u, Floating u, InterpretUnit u) => ConnectorBoxSpec u
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.
newtype ConnectorBoxSpec u Source
Constructors
ConnectorBoxSpec | |
Fields |
renderConnectorBoxSpec :: (Real u, Floating u, InterpretUnit u) => ConnectorProps -> ConnectorBoxSpec u -> ConnectorBox uSource
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.