Click or drag to resize

GHUtilsdrawAnnotation Method (IGH_PreviewArgs, Point3d, Transform, String, Color, Int32)

Draws a number at some entity in the Rhino Viewport

Namespace:  Karamba.GHopper.Utilities
Assembly:  karambaGH (in karambaGH.dll) Version: 1.15.0.0 (1.15.0.0)
Syntax
public static void drawAnnotation(
	IGH_PreviewArgs args,
	Point3d p0,
	Transform transform,
	string text,
	Color color,
	int offset
)

Parameters

args
Type: IGH_PreviewArgs

[Missing <param name="args"/> documentation for "M:Karamba.GHopper.Utilities.GHUtils.drawAnnotation(Grasshopper.Kernel.IGH_PreviewArgs,Rhino.Geometry.Point3d,Rhino.Geometry.Transform,System.String,System.Drawing.Color,System.Int32)"]

p0
Type: Point3d
Point where annotation belongs to
transform
Type: Transform

[Missing <param name="transform"/> documentation for "M:Karamba.GHopper.Utilities.GHUtils.drawAnnotation(Grasshopper.Kernel.IGH_PreviewArgs,Rhino.Geometry.Point3d,Rhino.Geometry.Transform,System.String,System.Drawing.Color,System.Int32)"]

text
Type: SystemString
text to be displayed
color
Type: System.DrawingColor
text color
offset
Type: SystemInt32
distance between displayed number an annotated object
See Also