Shumate.Tile
Description: Reference for Shumate.Tile

### Class

# ShumateTile

#### Description [src]

    final class Shumate.Tile : GObject.Object
    {
      /* No available fields */
    }

An object that represents map tiles. Tiles are loaded by a `ShumateMapSource`.

#### Ancestors

- GObject

#### Constructors

###### shumate_tile_new

Creates an instance of `ShumateTile`.

###### shumate_tile_new_full

Creates an instance of `ShumateTile`.

#### Instance methods

###### shumate_tile_get_fade_in

Checks whether the tile should fade in.

###### shumate_tile_get_paintable

Get the `GdkPaintable` representing this tile.

###### shumate_tile_get_scale_factor

Gets the scale factor of the tile.

since: 1.1

###### shumate_tile_get_size

Gets the tile’s size.

###### shumate_tile_get_state

Gets the current state of tile loading.

###### shumate_tile_get_x

Gets the tile’s x position.

###### shumate_tile_get_y

Gets the tile’s y position.

###### shumate_tile_get_zoom_level

Gets the tile’s zoom level.

###### shumate_tile_set_fade_in

Sets the flag determining whether the tile should fade in when loading.

###### shumate_tile_set_paintable

Sets the `GdkPaintable` representing this tile.

###### shumate_tile_set_scale_factor

Sets the scale factor of the tile.

since: 1.1

###### shumate_tile_set_size

Sets the tile’s size.

###### shumate_tile_set_state

Sets the tile’s `ShumateState`.

###### shumate_tile_set_x

Sets the tile’s x position.

###### shumate_tile_set_y

Sets the tile’s y position.

###### shumate_tile_set_zoom_level

Sets the tile’s zoom level.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Shumate.Tile:fade-in

Specifies whether the tile should fade in when loading.

###### Shumate.Tile:paintable

The `GdkPaintable` backing the tile.

###### Shumate.Tile:scale-factor

The scale factor of the widget the tile will be displayed in.

since: 1.1

###### Shumate.Tile:size

The size of the tile in pixels.

###### Shumate.Tile:state

The state of the tile.

###### Shumate.Tile:x

The x position of the tile.

###### Shumate.Tile:y

The y position of the tile.

###### Shumate.Tile:zoom-level

The zoom level of the tile.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct ShumateTileClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.