Properties
BackFace
Gets the index of the back face currently being painted by Tile.DrawFaceB(Graphics, RectangleF, Color, Color).
Bounds
public RectangleF Bounds { get; set; }
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
public Color Colour { get; set; }
Gets the colour to be used for this tile.
RotationAngle
Gets the progress of the current flip, from zero (old face flat) to one (new face flat).
Methods
BackFaceAt
Gets the index of the back face a point asks for. The default tile has a single back face.
Parameters:
| point (PointF) |
CreateOpen
#CreateOpenSandBox
#CreateRestore
#Parameters:
| context (Context) |
DrawFaceA
#protected override void DrawFaceA(Graphics graphics, RectangleF frame, Color back, Color fore)
Parameters:
| graphics (Graphics) | |
| frame (RectangleF) | |
| back (Color) | |
| fore (Color) |
Overrides: Tile.DrawFaceA
DrawFaceB
#protected override void DrawFaceB(Graphics graphics, RectangleF frame, Color back, Color fore)
Parameters:
| graphics (Graphics) | |
| frame (RectangleF) | |
| back (Color) | |
| fore (Color) |
Overrides: Tile.DrawFaceB
HasBackFace
Gets whether a back face has anything to show. A tile does not turn towards an empty face.
Parameters:
| face (int) |
ShowTooltip
#public override void ShowTooltip(PointF point)
Parameters:
| point (PointF) |
Overrides: Tile.ShowTooltip