Pango::Analysis
class Pango::Analysis
The Pango::Analysis class stores information about the properties of a segment of text.
Class Methods
Pango::Analysis.new
-
- Returns: self
Instance Methods
shape_engine
-
Gets the engine for doing rendering-system-dependent processing.
- Returns: the Pango::EngineShape
shape_engine=(engine)
-
Sets the engine for doing rendering-system-dependent processing.
- engine: the Pango::EngineShape
- Returns: engine
set_shape_engine(engine)
-
Same as Pango::Analysis#shape_engine=.
- engine: the Pango::EngineShape
- Returns: self
lang_engine
-
Gets the engine for doing rendering-system-independent processing.
- Returns: the Pango::EngineLang
lang_engine=(engine)
-
Sets the engine for doing rendering-system-independent processing.
- engine: the Pango::EngineLang
- Returns: engine
set_lang_engine(engine)
-
Same as Pango::Analysis#lang_engine=.
- engine: the Pango::EngineLang
- Returns: self
font
-
Gets the font for doing rendering-system-independent matter.
- Returns: the Pango::Font
font=(font)
-
Sets the font for doing rendering-system-independent matter.
- font: the Pango::Font
- Returns: font
set_font(font)
-
Same as Pango::Analysis#font=.
- font: the Pango::Font
- Returns: self
level
-
Gets the bidrectional level for this segment.
- Returns: the bidrectional level(Fixnum)
level=(level)
-
Sets the bidrectional level for this segment.
- level: the bidrectional level(Fixnum)
- Returns: level
set_level(level)
-
Same as Pango::Analysis#level=.
- level: the bidrectional level(Fixnum)
- Returns: self
language
-
Gets the Pango::Language?.
- Returns: the Pango::Language?
language=(lang)
-
Sets the Pango::Language?.
- lang: the Pango::Language?
- Returns: lang
set_language(lang)
-
Same as Pango::Analysis#language=.
- lang: the Pango::Language?
- Returns: self
extra_attrs
-
Gets an Array of the attributes.
- Returns: an Array of Pango::Attribute
extra_attrs=(attrs)
-
Sets an Array of the attributes.
- attrs: an Array of Pango::Attribute
- Returns: attrs
set_extra_attrs(attrs)
-
Same as Pango::Analysis#extra_attrs=.
- attrs: an Array of Pango::Attribute
- Returns: self
キーワード:
参照:[Pango] [Ruby/Pango] [Pango::Analysis]