|
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)
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