public class SpeechBalloonHelper extends Object
SpeechBalloonOverlay
whose main interest is method compute(RectL, PointL, double, PointL, PointL)
Modifier and Type | Field and Description |
---|---|
static int |
CORNER_BOTTOM |
static int |
CORNER_INSIDE |
static int |
CORNER_LEFT |
static int |
CORNER_NONE |
static int |
CORNER_RIGHT |
static int |
CORNER_TOP |
Constructor and Description |
---|
SpeechBalloonHelper() |
Modifier and Type | Method and Description |
---|---|
int |
compute(RectL pInputRect,
PointL pInputPoint,
double pInputRadius,
PointL pOutputIntersection1,
PointL pOutputIntersection2)
Computes the intersection between a rectangle and the triangle that starts from a Point
and goes to a circle centered on the rectangle's center
|
public static final int CORNER_INSIDE
public static final int CORNER_NONE
public static final int CORNER_LEFT
public static final int CORNER_RIGHT
public static final int CORNER_TOP
public static final int CORNER_BOTTOM
public int compute(RectL pInputRect, PointL pInputPoint, double pInputRadius, PointL pOutputIntersection1, PointL pOutputIntersection2)