enum

Term2::Style::Props

Inherits Enum < Comparable < Value < Object

Bitflags for which properties are set

Constants

Bold = 1_u64
Italic = 2_u64
Underline = 4_u64
Strikethrough = 8_u64
Reverse = 16_u64
Blink = 32_u64
Faint = 64_u64
UnderlineSpaces = 128_u64
StrikethroughSpaces = 256_u64
ColorWhitespace = 512_u64
Foreground = 1024_u64
Background = 2048_u64
Width = 4096_u64
Height = 8192_u64
AlignHorizontal = 16384_u64
AlignVertical = 32768_u64
PaddingTop = 65536_u64
PaddingRight = 131072_u64
PaddingBottom = 262144_u64
PaddingLeft = 524288_u64
MarginTop = 1048576_u64
MarginRight = 2097152_u64
MarginBottom = 4194304_u64
MarginLeft = 8388608_u64
MarginBackground = 16777216_u64
BorderStyle = 33554432_u64
BorderTop = 67108864_u64
BorderRight = 134217728_u64
BorderBottom = 268435456_u64
BorderLeft = 536870912_u64
BorderTopForeground = 1073741824_u64
BorderRightForeground = 2147483648_u64
BorderBottomForeground = 4294967296_u64
BorderLeftForeground = 8589934592_u64
BorderTopBackground = 17179869184_u64
BorderRightBackground = 34359738368_u64
BorderBottomBackground = 68719476736_u64
BorderLeftBackground = 137438953472_u64
Inline = 274877906944_u64
MaxWidth = 549755813888_u64
MaxHeight = 1099511627776_u64
TabWidth = 2199023255552_u64
Transform = 4398046511104_u64
None = 0_u64
All = 8796093022207_u64

Instance methods

align_horizontal?

Returns true if this enum value contains AlignHorizontal

Source
align_vertical?

Returns true if this enum value contains AlignVertical

Source
background?

Returns true if this enum value contains Background

Source
bold?

Returns true if this enum value contains Bold

Source
border_bottom?

Returns true if this enum value contains BorderBottom

Source
border_bottom_background?

Returns true if this enum value contains BorderBottomBackground

Source
border_bottom_foreground?

Returns true if this enum value contains BorderBottomForeground

Source
border_left?

Returns true if this enum value contains BorderLeft

Source
border_left_background?

Returns true if this enum value contains BorderLeftBackground

Source
border_left_foreground?

Returns true if this enum value contains BorderLeftForeground

Source
border_right?

Returns true if this enum value contains BorderRight

Source
border_right_background?

Returns true if this enum value contains BorderRightBackground

Source
border_right_foreground?

Returns true if this enum value contains BorderRightForeground

Source
border_style?

Returns true if this enum value contains BorderStyle

Source
border_top?

Returns true if this enum value contains BorderTop

Source
border_top_background?

Returns true if this enum value contains BorderTopBackground

Source
border_top_foreground?

Returns true if this enum value contains BorderTopForeground

Source
color_whitespace?

Returns true if this enum value contains ColorWhitespace

Source
faint?

Returns true if this enum value contains Faint

Source
foreground?

Returns true if this enum value contains Foreground

Source
height?

Returns true if this enum value contains Height

Source
inline?

Returns true if this enum value contains Inline

Source
italic?

Returns true if this enum value contains Italic

Source
margin_background?

Returns true if this enum value contains MarginBackground

Source
margin_bottom?

Returns true if this enum value contains MarginBottom

Source
margin_left?

Returns true if this enum value contains MarginLeft

Source
margin_right?

Returns true if this enum value contains MarginRight

Source
margin_top?

Returns true if this enum value contains MarginTop

Source
max_height?

Returns true if this enum value contains MaxHeight

Source
max_width?

Returns true if this enum value contains MaxWidth

Source
none?
Source
padding_bottom?

Returns true if this enum value contains PaddingBottom

Source
padding_left?

Returns true if this enum value contains PaddingLeft

Source
padding_right?

Returns true if this enum value contains PaddingRight

Source
padding_top?

Returns true if this enum value contains PaddingTop

Source
reverse?

Returns true if this enum value contains Reverse

Source
strikethrough?

Returns true if this enum value contains Strikethrough

Source
strikethrough_spaces?

Returns true if this enum value contains StrikethroughSpaces

Source
tab_width?

Returns true if this enum value contains TabWidth

Source
transform?

Returns true if this enum value contains Transform

Source
underline?

Returns true if this enum value contains Underline

Source
underline_spaces?

Returns true if this enum value contains UnderlineSpaces

Source
width?

Returns true if this enum value contains Width

Source