|
GHUtilsDrawAnnotation Method (IGH_PreviewArgs, Point3d, Transform, String, Double, 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 num_fmt,
double value,
Color color,
int offset
)
Public Shared Sub DrawAnnotation (
args As IGH_PreviewArgs,
p0 As Point3d,
transform As Transform,
num_fmt As String,
value As Double,
color As Color,
offset As Integer
)
public:
static void DrawAnnotation(
IGH_PreviewArgs^ args,
Point3d p0,
Transform transform,
String^ num_fmt,
double value,
Color color,
int offset
)
static member DrawAnnotation :
args : IGH_PreviewArgs *
p0 : Point3d *
transform : Transform *
num_fmt : string *
value : float *
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.Double,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.Double,System.Drawing.Color,System.Int32)"]
- num_fmt
- Type: SystemString
C# number format string. - value
- Type: SystemDouble
value to be displayed. - color
- Type: System.DrawingColor
text color. - offset
- Type: SystemInt32
distance between displayed number an annotated object.
See Also