CharacterFormattingInfo.this

Creates character formatting from the supplied data.

  1. this(Fontset!T font, ubyte color, uint formatFlags, ushort paragraphSpace, short rowHeight, ushort offsetV)
    class CharacterFormattingInfo(T)
    @safe
    static if(T.stringof == Bitmap8Bit.stringof)
    this
    (,
    ubyte color
    ,,,
    short rowHeight
    ,
    ushort offsetV
    )
  2. this(CharacterFormattingInfo!T source)

Parameters

font Fontset!T

The fontset to be used for the formatting.

color ubyte

The color of the text.

formatFlags uint

Formatting flags, some combination of FormattingFlags ORed together.

paragraphSpace ushort

Spaces between new paragraphs.

rowHeight short

Total height of a row (fontsize + space between lines).

offsetV ushort

Vertical offset on singleline texts.

Meta