VectorUtils VectorizeBalloon Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Calculates callout balloon vertexes suitable for curve drawing

Namespace: NFX.Geometry
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static Point[] VectorizeBalloon(
	Rectangle body,
	Point target,
	double legSweep
)

Parameters

body
Type: OnlineSystem.Drawing Rectangle
Balloon body coordinates
target
Type: OnlineSystem.Drawing Point
A point of balloon leg attachment
legSweep
Type: OnlineSystem 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:  OnlinePoint 
An array of vertex points
See Also