Search
Utils.center Method
See Also
 






Returns the center of the line segment defined by the specified points.

Namespace: com.mindfusion.charting.components.gauges
File: com.mindfusion.charting.components.gauges

 Syntax

Java  Copy Code

public static Point2D center (
    Point2D p1,
    Point2D p2
)

 Parameters

p1

The first point of the line segment.

p2

The second point of the line segment.

 Return Value

A Point2D representing the segment's center.

 See Also