# Tile class

Namespace: [Grasshopper2.UI.Canvas](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.canvas.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public abstract class Tile
```

Base class for canvas tiles.

**Derived types:** [CommandTile](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.commandtile.md), [FileTile](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.filetile.md)

## Constructors

- [Tile](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/ctor.md)

## Fields

- [FrontFace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/frontface.md): (static) The index of the front face, which shows the tile details.

## Properties

- [BackFace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/backface.md): Gets the index of the back face currently being painted by [Tile.DrawFaceB(Graphics, RectangleF, Color, Color)](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/drawfaceb.md).
- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/bounds.md): Gets or sets the bounds for this tile. Please do not set this yourself... A tile may draw outside of its bounds during rotation.
- [Colour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/colour.md): Gets the colour to be used for this tile.
- [Kind](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/kind.md): Gets the kind of this tile.
- [RotationAngle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/rotationangle.md): Gets the progress of the current flip, from zero (old face flat) to one (new face flat).

## Methods

- [BackFaceAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/backfaceat.md): Gets the index of the back face a point asks for. The default tile has a single back face.
- [Click](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/click.md)
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/draw.md)
- [DrawFaceA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/drawfacea.md)
- [DrawFaceB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/drawfaceb.md)
- [HasBackFace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/hasbackface.md): Gets whether a back face has anything to show. A tile does not turn towards an empty face.
- [ShowTooltip](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tile/showtooltip.md)
