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



2095
2096
2097
# File 'lib/xberg/native.rb', line 2095

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2091
2092
2093
# File 'lib/xberg/native.rb', line 2091

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false