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



1977
1978
1979
# File 'lib/xberg/native.rb', line 1977

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


1973
1974
1975
# File 'lib/xberg/native.rb', line 1973

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false