class Gdk::TextureDownloader
- Gdk::TextureDownloader
- Reference
- Object
Overview
Used to download the contents of a Gdk::Texture
.
It is intended to be created as a short-term object for a single download, but can be used for multiple downloads of different textures or with different settings.
Gdk::TextureDownloader
can be used to convert data between different formats.
Create a Gdk::Texture
for the existing format and then download it in a
different format.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/texture_downloader.crConstructors
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #color_state : Gdk::ColorState
- #color_state=(color_state : Gdk::ColorState) : Nil
- #copy : Gdk::TextureDownloader
- #download_bytes(out_stride : UInt64) : GLib::Bytes
- #download_into(data : Bytes, stride : UInt64) : Nil
- #finalize
- #format : Gdk::MemoryFormat
- #format=(format : Gdk::MemoryFormat) : Nil
- #free : Nil
- #texture : Gdk::Texture
- #texture=(texture : Gdk::Texture) : Nil
- #to_unsafe : Pointer(Void)