struct Graphene::Size
- Graphene::Size
- Struct
- Value
- Object
Overview
A size.
Defined in:
lib/gi-crystal/src/auto/graphene-1.0/size.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGraphene::Size, _transfer : GICrystal::Transfer)
- .new(width : Float32? = nil, height : Float32? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
- .zero : Graphene::Size
Instance Method Summary
- #==(other : self) : Bool
- #equal(b : Graphene::Size) : Bool
- #free : Nil
- #height(*args, **options)
- #height(*args, **options, &)
- #height=(arg)
- #init(width : Float32, height : Float32) : Graphene::Size
- #init_from_size(src : Graphene::Size) : Graphene::Size
- #interpolate(b : Graphene::Size, factor : Float64) : Graphene::Size
- #scale(factor : Float32) : Graphene::Size
- #width(*args, **options)
- #width(*args, **options, &)
- #width=(arg)