|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.chart.series.Primitives
public class Primitives
Collection of methods to generate primitive shapes. Used in series to generate markers.
| Constructor Summary | |
|---|---|
Primitives()
|
|
| Method Summary | |
|---|---|
static PathSprite |
arrow(double cx,
double cy,
double radius)
Generates an arrow using the given parameters. |
static CircleSprite |
circle(double cx,
double cy,
double radius)
Generates a circle using the given parameters. |
static PathSprite |
cross(double cx,
double cy,
double radius)
Generates a cross using the given parameters. |
static PathSprite |
diamond(double cx,
double cy,
double radius)
Generates a diamond using the given parameters. |
static RectangleSprite |
line(double cx,
double cy,
double radius)
Generates a line using the given parameters. |
static PathSprite |
plus(double cx,
double cy,
double radius)
Generates a plus using the given parameters. |
static RectangleSprite |
square(double cx,
double cy,
double radius)
Generates a square using the given parameters. |
static PathSprite |
triangle(double cx,
double cy,
double radius)
Generates a triangle using the given parameters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Primitives()
| Method Detail |
|---|
public static PathSprite arrow(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static CircleSprite circle(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static PathSprite cross(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static PathSprite diamond(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static RectangleSprite line(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static PathSprite plus(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static RectangleSprite square(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
public static PathSprite triangle(double cx,
double cy,
double radius)
cx - the center x-coordinate of the primitivecy - the center x-coordinate of the primitiveradius - the size of the primitive
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||