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:  Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
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