A tile on the canvas used for most-recent file access.
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.
CompareFiles
#public RectangleF CompareFiles { get; }
HasAutoSave
#Gets whether there's an autosave file available, indicating Grasshopper crashed the last time this file was open.
OpenAutoSaveFile
#public RectangleF OpenAutoSaveFile { get; }
OpenNormalFile
#public RectangleF OpenNormalFile { get; }
RotationAngle
Gets the progress of the current flip, from zero (old face flat) to one (new face flat).
Thumb
#public Bitmap Thumb { get; }
Canvas thumbnail image stored in file. This is retrieved lazily and may be null.
Viewport
#public Bitmap Viewport { get; }
Viewport thumbnail image stored in file. This is retrieved lazily and may be null.
Methods
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
#Parameters:
| face (int) |
Overrides: Tile.HasBackFace
ShowTooltip
#public override void ShowTooltip(PointF point)
Parameters:
| point (PointF) |
Overrides: Tile.ShowTooltip