Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A gravity is a pair of directions along the horizontal and vertical axis.
Horizontal axis goes from left to right and vertical axis from top to bottom.
`Negative
direction means left / top bounds, `Neutral
means center and `Positive
means right / bottom.
val pp_direction : Stdlib.Format.formatter -> direction -> unit
Printing directions
val pp : Stdlib.Format.formatter -> t -> unit
Printing gravities
Make a gravity value from an h
orizontal and a v
ertical directions.
val default : t
Default (negative, aligning to the top-left) gravity.