public class ArrowFactory extends Object
Constructor and Description |
---|
ArrowFactory() |
Modifier and Type | Method and Description |
---|---|
static GeneralPath |
getNotchedArrow(float base,
float height,
float notch_height)
Returns an arrowhead in the shape of an isosceles triangle
with an isoceles-triangle notch taken out of the base,
with the specified base and height measurements.
|
static GeneralPath |
getWedgeArrow(float base,
float height)
Returns an arrowhead in the shape of a simple isosceles triangle
with the specified base and height measurements.
|
public static GeneralPath getWedgeArrow(float base, float height)
base
- the width of the arrow's baseheight
- the arrow's height(base, height)
public static GeneralPath getNotchedArrow(float base, float height, float notch_height)
base
- the width of the arrow's baseheight
- the arrow's heightnotch_height
- the height of the arrow's notchCopyright © 2015. All rights reserved.