struct Pango::Rectangle
- Pango::Rectangle
- Struct
- Value
- Object
Overview
The Pango::Rectangle
structure represents a rectangle.
Pango::Rectangle
is frequently used to represent the logical or ink
extents of a single glyph or section of text. (See, for instance,
Pango::Font#glyph_extents
.)
Defined in:
lib/gi-crystal/src/auto/pango-1.0/rectangle.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibPango::Rectangle, _transfer : GICrystal::Transfer)
- .new(x : Int32 | Nil = nil, y : Int32 | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil)
Instance Method Summary
- #==(other : self) : Bool
- #height(*args, **options)
- #height(*args, **options, &)
- #height=(arg)
- #width(*args, **options)
- #width(*args, **options, &)
- #width=(arg)
- #x(*args, **options)
- #x(*args, **options, &)
- #x=(arg)
- #y(*args, **options)
- #y(*args, **options, &)
- #y=(arg)
Constructor Detail
def self.new(x : Int32 | Nil = nil, y : Int32 | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil)
#