This is the internal representation of Images. Use the constructors in Graphics.Vty.Image to create instances.
Images are:
a horizontal span of text
a horizontal or vertical join of two images
a two dimensional fill of the
Pictures background charactera cropped image
an empty image of no size or content.
Constructors
HorizTextA horizontal text span has a row height of 1.
HorizJoinA horizontal join can be constructed between any two images. However a HorizJoin instance is required to be between two images of equal height. The horizJoin constructor adds background fills to the provided images that assure this is true for the HorizJoin value produced.
VertJoinA veritical join can be constructed between any two images. However a VertJoin instance is required to be between two images of equal width. The vertJoin constructor adds background fills to the provides images that assure this is true for the VertJoin value produced.
BGFillA background fill will be filled with the background char. The background char is defined as a property of the Picture this Image is used to form.
CropCrop an image
EmptyImage
Instances8Eq, Read, Show, Generic, Semigroup, Monoid, …
Eq ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalRead ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalShow ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalGeneric ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalSemigroup ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalAppend in the Semigroup instance is equivalent to
<->.Monoid ImageDefined in vty-6.5 · Graphics.Vty.Image.InternalAppend in the Monoid instance is equivalent to
<->.NFData ImageDefined in vty-6.5 · Graphics.Vty.Image.Internaltype Rep Image = D1 ('MetaDataDefined in vty-6.5 · Graphics.Vty.Image.Internal"Image"
"Graphics.Vty.Image.Internal"
"vty-6.5-1yup7J3nL9oBgrKksjiNXW"
'False) ((C1 ('MetaCons"HorizText"
'PrefixI 'True) ((S1 ('MetaSel ('Just"attr"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Just"displayText"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just"outputWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"charWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: (C1 ('MetaCons"HorizJoin"
'PrefixI 'True) ((S1 ('MetaSel ('Just"partLeft"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Image) :*: S1 ('MetaSel ('Just"partRight"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Image)) :*: (S1 ('MetaSel ('Just"outputWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"outputHeight"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons"VertJoin"
'PrefixI 'True) ((S1 ('MetaSel ('Just"partTop"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Image) :*: S1 ('MetaSel ('Just"partBottom"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Image)) :*: (S1 ('MetaSel ('Just"outputWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"outputHeight"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :+: (C1 ('MetaCons"BGFill"
'PrefixI 'True) (S1 ('MetaSel ('Just"outputWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"outputHeight"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: (C1 ('MetaCons"Crop"
'PrefixI 'True) ((S1 ('MetaSel ('Just"croppedImage"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Image) :*: S1 ('MetaSel ('Just"leftSkip"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just"topSkip"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just"outputWidth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"outputHeight"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :+: C1 ('MetaCons"EmptyImage"
'PrefixI 'False) U1)))