Tile
Object Hierarchy:
Description:
An object that represents map tiles.
Tiles are loaded by a [class@MapSource].
Namespace: Shumate
Package: shumate-1.0
Content:
Properties:
- public bool fade_in { get; set; }
Specifies whether the tile should fade in when loading
- public Paintable paintable { get; set; }
The [iface@Gdk.
- public double scale_factor { get; set; }
The scale factor of the widget the tile will be displayed in.
- 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:
- public Tile ()
Creates an instance of Tile.
- public Tile.full (uint x, uint y, uint size, uint zoom_level)
Creates an instance of Tile.
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 [iface@Gdk.
- public double get_scale_factor ()
Gets the scale factor of the tile.
- 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 [iface@Gdk.
- public void set_scale_factor (double scale_factor)
Sets the scale factor of the tile.
- public void set_size (uint size)
Sets the tile's size
- public void set_state (State state)
Sets the tile's 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