CanvasMap
Getting Started Tutorials 3D Reference

Class CMUtilityBezier

CMUtilityBezier
Utilities for creating Bezier curves.

Static Functions

ReturnsFunctionThrows
GetCurveWithArrow(Xs, Ys, BarbWidth, BarbLength, ShaftWidth, HeadLength)

Static Functions

GetCurveWithArrow(Xs, Ys, BarbWidth, BarbLength, ShaftWidth, HeadLength)

Return a set of X and Y coordinates that represent the outline of a curve that has width
and has an arrow at the end.

Parameters:
    Xs - horizontal coordinate array of control points to follow.
    Ys - horizontal coordinate array of control points to follow.
    BarbWidth - Width of the bard of the arrow
    BarbLength - Length of the portion of the arrow that is before the connection between the curve and the arrow head
    ShaftWidth - Width of the arrow shaft (i.e. the width of the curve)
    HeadLength - Length of the head of the arrow