enum RemiLib::Console::Terminology::DisplayMode

Overview

How #showMedia displays things.

Defined in:

remilib/console/terminology.cr

Enum Members

Centered = 0
Filled = 1
Stretched = 2

Instance Method Summary

Instance methods inherited from struct Enum

toRsconf(builder : RemiLib::RSConf::Builder) toRsconf

Constructor methods inherited from struct Enum

new(val : RemiLib::RSConf::RSValue) new

Instance methods inherited from class Object

toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : Nil
toRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String
toRsconf

Class methods inherited from class Object

fromRsconf(toplevel : RemiLib::RSConf::RSValue)
fromRsconf(data : String | IO | Path)
fromRsconf

Instance Method Detail

def centered? #

Returns true if this enum value equals Centered


[View source]
def filled? #

Returns true if this enum value equals Filled


[View source]
def stretched? #

Returns true if this enum value equals Stretched


[View source]