Tile
Object Hierarchy:
Description:
[ CCode ( type_id = "shumate_tile_get_type ()" ) ]
public class Tile : Object
An object that represents map tiles.
Tiles are loaded by a [class@MapSource].
Content:
Properties:
- public bool fade_in { get; set; }
Specifies whether the tile should fade in when loading
- public Paintable paintable { get; set; }
The [class@Gdk.
- public uint size { get; set; }
The size of the tile in pixels
- public State state { get; set; }
The state of the tile
- public uint x { get; set; }
The x position of the tile
- public uint y { get; set; }
The y position of the tile
- public uint zoom_level { get; set; }
The zoom level of the tile
Creation methods:
Methods:
- public unowned string get_etag ()
- public bool get_fade_in ()
Checks whether the tile should fade in.
- public DateTime get_modified_time ()
- public unowned Paintable? get_paintable ()
Get the [class@Gdk.
- public uint get_size ()
Gets the tile's size.
- public State get_state ()
Gets the current state of tile loading.
- public uint get_x ()
Gets the tile's x position.
- public uint get_y ()
Gets the tile's y position.
- public uint get_zoom_level ()
Gets the tile's zoom level.
- public void set_etag (string etag)
- public void set_fade_in (bool fade_in)
Sets the flag determining whether the tile should fade in when loading
- public void set_modified_time (DateTime modified_time)
- public void set_paintable (Paintable paintable)
Sets the [class@Gdk.
- public void set_size (uint size)
Sets the tile's size
- public void set_state (State state)
- public void set_x (uint x)
Sets the tile's x position
- public void set_y (uint y)
Sets the tile's y position
- public void set_zoom_level (uint zoom_level)
Sets the tile's zoom level
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref