GH_GraphicsUtilRenderBalloonTag Method (Graphics, String, Font, Color, Color, PointF, RectangleF) |
Draw a balloon tag in a container.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static void RenderBalloonTag(
Graphics g,
string text,
Font font,
Color backColor,
Color foreColor,
PointF tip,
RectangleF container
)
Public Shared Sub RenderBalloonTag (
g As Graphics,
text As String,
font As Font,
backColor As Color,
foreColor As Color,
tip As PointF,
container As RectangleF
)
Parameters
- g
- Type: System.DrawingGraphics
Graphics object to draw with. - text
- Type: SystemString
Text of tag. - font
- Type: System.DrawingFont
Font of tag. - backColor
- Type: System.DrawingColor
Background colour of balloon. - foreColor
- Type: System.DrawingColor
Foreground colout of balloon edge and text. - tip
- Type: System.DrawingPointF
Tip of balloon (should be inside container). - container
- Type: System.DrawingRectangleF
Container for balloon.
See Also