|
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)
Syntaxpublic static void DrawAnnotation(
IGH_PreviewArgs args,
Point3d p0,
Transform transform,
string text,
Color color,
int offset
)
Public Shared Sub DrawAnnotation (
args As IGH_PreviewArgs,
p0 As Point3d,
transform As Transform,
text As String,
color As Color,
offset As Integer
)
public:
static void DrawAnnotation(
IGH_PreviewArgs^ args,
Point3d p0,
Transform transform,
String^ text,
Color color,
int offset
)
static member DrawAnnotation :
args : IGH_PreviewArgs *
p0 : Point3d *
transform : Transform *
text : string *
color : Color *
offset : int -> unit
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