Module: RichEngine::UI::Textures

Extended by:
Textures
Included in:
Textures
Defined in:
lib/rich_engine/ui/textures.rb

Overview

Convenience glyphs for shading and blocky fills.

Instance Method Summary collapse

Instance Method Details

#bottom_half ⇒ String

The lower half block glyph.

Returns:

  • (String) —

    "▄"



53
54
55
# File 'lib/rich_engine/ui/textures.rb', line 53

def bottom_half
  "▄"
end

#dark_shade ⇒ String

The dark shade glyph.

Returns:

  • (String) —

    "░"



39
40
41
# File 'lib/rich_engine/ui/textures.rb', line 39

def dark_shade
  "░"
end

#empty ⇒ String

The empty glyph (space).

Returns:

  • (String) —

    " "



11
12
13
# File 'lib/rich_engine/ui/textures.rb', line 11

def empty
  " "
end

#left_half ⇒ String

The left half block glyph.

Returns:

  • (String) —

    "▌"



60
61
62
# File 'lib/rich_engine/ui/textures.rb', line 60

def left_half
  "▌"
end

#light_shade ⇒ String

The light shade glyph.

Returns:

  • (String) —

    "▓"



25
26
27
# File 'lib/rich_engine/ui/textures.rb', line 25

def light_shade
  "▓"
end

#medium_shade ⇒ String

The medium shade glyph.

Returns:

  • (String) —

    "▒"



32
33
34
# File 'lib/rich_engine/ui/textures.rb', line 32

def medium_shade
  "▒"
end

#plaid ⇒ String

The plaid (half-shade diagonal) glyph.

Returns:

  • (String) —

    "▞"



74
75
76
# File 'lib/rich_engine/ui/textures.rb', line 74

def plaid
  "▞"
end

#right_half ⇒ String

The right half block glyph.

Returns:

  • (String) —

    "▐"



67
68
69
# File 'lib/rich_engine/ui/textures.rb', line 67

def right_half
  "▐"
end

#solid ⇒ String

The solid block glyph.

Returns:

  • (String) —

    "█"



18
19
20
# File 'lib/rich_engine/ui/textures.rb', line 18

def solid
  "█"
end

#top_half ⇒ String

The upper half block glyph.

Returns:

  • (String) —

    "▀"



46
47
48
# File 'lib/rich_engine/ui/textures.rb', line 46

def top_half
  "▀"
end