Trait libnotcurses_sys::NcBoxMaskApi [−][src]
pub trait NcBoxMaskApi {
const GRAD_TOP: NcBoxMask;
const GRAD_RIGHT: NcBoxMask;
const GRAD_BOTTOM: NcBoxMask;
const GRAD_LEFT: NcBoxMask;
const MASK_TOP: NcBoxMask;
const MASK_RIGHT: NcBoxMask;
const MASK_BOTTOM: NcBoxMask;
const MASK_LEFT: NcBoxMask;
const CORNER_MASK: NcBoxMask;
const CORNER_SHIFT: NcBoxMask;
}Expand description
Enables the NcBoxMask associated methods and constants.
Associated Constants
const GRAD_RIGHT: NcBoxMask
const GRAD_RIGHT: NcBoxMask
NcBoxMask right gradient mask.
const GRAD_BOTTOM: NcBoxMask
const GRAD_BOTTOM: NcBoxMask
NcBoxMask bottom gradient mask.
const MASK_RIGHT: NcBoxMask
const MASK_RIGHT: NcBoxMask
NcBoxMask right border mask.
const MASK_BOTTOM: NcBoxMask
const MASK_BOTTOM: NcBoxMask
NcBoxMask bottom border mask.
const CORNER_MASK: NcBoxMask
const CORNER_MASK: NcBoxMask
NcBoxMask corner mask to control the drawing of boxes corners.
By default, vertexes are drawn whether their connecting edges are drawn or not. The value of the bits control this, and are interpreted as the number of connecting edges necessary to draw a given corner.
At 0 (the default), corners are always drawn. At 3, corners are never drawn (since at most 2 edges can touch a box’s corner),.
const CORNER_SHIFT: NcBoxMask
const CORNER_SHIFT: NcBoxMask
The number of bits
NcBoxMask::CORNER_MASK
is shifted.
