struct Cairo::Rectangle
- Cairo::Rectangle
- Struct
- Value
- Object
Defined in:
lib/gi-crystal/src/auto/cairo-1.0/rectangle.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibCairo::Rectangle, _transfer : GICrystal::Transfer)
- .new(x : Float64? = nil, y : Float64? = nil, width : Float64? = nil, height : Float64? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
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 : Float64? = nil, y : Float64? = nil, width : Float64? = nil, height : Float64? = nil)
#