Portability | GHC |
---|---|
Stability | unstable |
Maintainer | stephen.tetley@gmail.com |
Left-to-right measured text. The text uses glyph metrics so it can be positioned accurately.
- singleLineBL :: (Ord u, FromPtSize u) => String -> BoundedLocGraphic u
- singleLineCC :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic u
- multiAlignLeft :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic u
- multiAlignCenter :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic u
- multiAlignRight :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic u
Documentation
singleLineBL :: (Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource
singleLineCC :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource
multiAlignLeft :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource
Draw multi-line text, aligned to the left.
The input string is split on newline with the Prelude function
lines
. The supplied point is the center of the text.
multiAlignCenter :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource
Draw multi-line text, aligned on the horizontal center.
The input string is split on newline with the Prelude function
lines
. The supplied point is the center of the text.
multiAlignRight :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource
Draw multi-line text, aligned to the right.
The input string is split on newline with the Prelude function
lines
. The supplied point is the center of the text.