public Tooltip(Image image) { IsImage = true; Image = image; Gui = new ImageBox(image, new Area(SpawnLocation, new Coord(ImageMaxWidth, 0))); Setup(); }
public Tooltip(string text) { IsImage = false; Text = text; Gui = new TextBox(text, SpawnLocation); Setup(); }