Grasshopper API
GH_GeometricFontDrawNumber Method (Graphics, Int32, Color, PointF) |
Draw an integer at the specified location.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static void DrawNumber( Graphics graphics, int number, Color colour, PointF position )
Public Shared Sub DrawNumber ( graphics As Graphics, number As Integer, colour As Color, position As PointF )
Parameters
- graphics
- Type: System.DrawingGraphics
Graphics to draw with. - number
- Type: SystemInt32
Number to draw. - colour
- Type: System.DrawingColor
Colour to draw with. - position
- Type: System.DrawingPointF
Position for first character.
