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



2434
2435
2436
# File 'lib/xberg/native.rb', line 2434

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2430
2431
2432
# File 'lib/xberg/native.rb', line 2430

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false