Expand description
This crate provides a data structure for text alignment. Rectangular Pane
s (which may have smaller, child Pane
s)
can be defined, and the positions of characters of text within them can be calculated.
The graphics
feature, which is on by default, allow the direct rendering of a Pane
with the piston2d-graphics
crate.
Modules
Defines serveral color constants
Traits for doing vector geometry with built-in types
A prelud containing commonly used items in
Pane
Structs
A basic implememntor for
CharacterWidthCache
A rectangle which automatically determines the positions and sizes
of things withing it
A format for some text
Enums
Possible content of a
Pane
A horizantal text justification
An orientation for splitting a
Pane
A way of resizing text in a rectangle
Traits
Defines behavior of a cache of character widths.
Defines conversion into a child
Pane
with a weight and optional nameFunctions
Draw justified text to something using the
piston2d-graphics
crateType Definitions
A color
Lines that have starting positions