ยค tieLabelF

Decoration

Types

tieLabelF :: Graphic p => Orientation -> Alignment -> p -> F c d -> F c d

Synopsis

tieLabelF orient align label fudget

data Orientation = Above | Below | RightOf | LeftOf
type Alignment = Double

Description

tieLabelF is used to attach a label to a fudget.

Input

passed to the contained fudget

Output

passed out from the contained fudget

Arguments

orient :: Orientation
where to place the label relative to the fudget.
align :: Alignment
how the label is aligned in the available space.
label :: p
The label. The label can be a value of any type that is an instance of the Graphic class, e.g., a string.
fudget :: F c d
The fudget to which the label is attached.

See Also

labAboveF, labBelowF, labRightOfF, labLeftOfF.