class Pango::Layout - pango-3.2.9 Documentation

# class Pango::Layout

### Public Instance Methods

font_description=(description)
Alias for: set_font_description
markup=(markup)
Alias for: set_markup
set_font_description(description) click to toggle source

    # File lib/pango/layout.rb, line 20
    def set_font_description(description)
      unless description.is_a?(FontDescription)
        description = FontDescription.new(description)
      end
      set_font_description_raw(description)
    end

Also aliased as: set_font_description_raw, font_description=
set_font_description_raw(description)
Alias for: set_font_description
set_markup(markup) click to toggle source

    # File lib/pango/layout.rb, line 36
    def set_markup(markup)
      set_markup_raw(markup, markup.bytesize)
    end

Also aliased as: set_markup_raw, markup=
set_markup_raw(markup)
Alias for: set_markup
set_text(text) click to toggle source

    # File lib/pango/layout.rb, line 30
    def set_text(text)
      set_text_raw(text, text.bytesize)
    end

Also aliased as: set_text_raw, text=
set_text_raw(text)
Alias for: set_text
text=(text)
Alias for: set_text