[This is preliminary documentation and is subject to change.]
Calculates callout balloon vertexes suitable for curve drawing
Namespace: NFX.GeometryAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Point[] VectorizeBalloon(
Rectangle body,
Point target,
double legSweep
)
public static Point[] VectorizeBalloon(
Rectangle body,
Point target,
double legSweep
)
Public Shared Function VectorizeBalloon (
body As Rectangle,
target As Point,
legSweep As Double
) As Point()
Public Shared Function VectorizeBalloon (
body As Rectangle,
target As Point,
legSweep As Double
) As Point()
public:
static array<Point>^ VectorizeBalloon(
Rectangle body,
Point target,
double legSweep
)
public:
static array<Point>^ VectorizeBalloon(
Rectangle body,
Point target,
double legSweep
)
static member VectorizeBalloon :
body : Rectangle *
target : Point *
legSweep : float -> Point[]
static member VectorizeBalloon :
body : Rectangle *
target : Point *
legSweep : float -> Point[]
Parameters
- body
- Type:
System.Drawing Rectangle
Balloon body coordinates
- target
- Type:
System.Drawing Point
A point of balloon leg attachment
- legSweep
- Type:
System Double
Length of balloon leg attachment breach at balloon body edge, expressed in radians (arc length). A value such as PI/16 yields good results
Return Value
Type:
Point An array of vertex points