Class: Xberg::AnnotationKindItalic

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/xberg/native.rb

Overview

Italic (emphasis) text formatting.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2332
2333
2334
# File 'lib/xberg/native.rb', line 2332

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


2306
# File 'lib/xberg/native.rb', line 2306

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


2314
# File 'lib/xberg/native.rb', line 2314

def code? = false

#color?Boolean

Returns:

  • (Boolean)


2324
# File 'lib/xberg/native.rb', line 2324

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2328
2329
2330
# File 'lib/xberg/native.rb', line 2328

def custom? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#font_size?Boolean

Returns:

  • (Boolean)


2326
# File 'lib/xberg/native.rb', line 2326

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


2322
# File 'lib/xberg/native.rb', line 2322

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


2308
# File 'lib/xberg/native.rb', line 2308

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


2320
# File 'lib/xberg/native.rb', line 2320

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


2312
# File 'lib/xberg/native.rb', line 2312

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


2316
# File 'lib/xberg/native.rb', line 2316

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


2318
# File 'lib/xberg/native.rb', line 2318

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


2310
# File 'lib/xberg/native.rb', line 2310

def underline? = false