Package | Description |
---|---|
org.piccolo2d.nodes |
This package contains nodes that may be useful for Piccolo applications.
|
Modifier and Type | Class and Description |
---|---|
static class |
PPath.Double
Path node with coordinates stored in double precision floating point.
|
static class |
PPath.Float
Path node with coordinates stored in single precision floating point.
|
Modifier and Type | Method and Description |
---|---|
static PPath |
PPath.createArc(double x,
double y,
double width,
double height,
double start,
double extent,
int type)
Create and return a new path node with the specified arc in double
precision floating point coordinates.
|
static PPath |
PPath.createArc(float x,
float y,
float width,
float height,
float start,
float extent,
int type)
Create and return a new path node with the specified arc in single
precision floating point coordinates.
|
static PPath |
PPath.createCubicCurve(double x1,
double y1,
double ctrlx1,
double ctrly1,
double ctrlx2,
double ctrly2,
double x2,
double y2)
Create and return a new path node with the specified cubic curve in double
precision floating point coordinates.
|
static PPath |
PPath.createCubicCurve(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2)
Create and return a new path node with the specified cubic curve in single
precision floating point coordinates.
|
static PPath |
PPath.createEllipse(double x,
double y,
double width,
double height)
Create and return a new path node with the specified ellipse in double
precision floating point coordinates.
|
static PPath |
PPath.createEllipse(float x,
float y,
float width,
float height)
Create and return a new path node with the specified ellipse in single
precision floating point coordinates.
|
static PPath |
PPath.createLine(double x1,
double y1,
double x2,
double y2)
Create and return a new path node with the specified line in double
precision floating point coordinates.
|
static PPath |
PPath.createLine(float x1,
float y1,
float x2,
float y2)
Create and return a new path node with the specified line in single
precision floating point coordinates.
|
static PPath |
PPath.createQuadCurve(double x1,
double y1,
double ctrlx,
double ctrly,
double x2,
double y2)
Create and return a new path node with the specified quadratic curve in double
precision floating point coordinates.
|
static PPath |
PPath.createQuadCurve(float x1,
float y1,
float ctrlx,
float ctrly,
float x2,
float y2)
Create and return a new path node with the specified quadratic curve in single
precision floating point coordinates.
|
static PPath |
PPath.createRectangle(double x,
double y,
double width,
double height)
Create and return a new path node with the specified rectangle in double
precision floating point coordinates.
|
static PPath |
PPath.createRectangle(float x,
float y,
float width,
float height)
Create and return a new path node with the specified rectangle in single
precision floating point coordinates.
|
static PPath |
PPath.createRoundRectangle(double x,
double y,
double width,
double height,
double arcWidth,
double arcHeight)
Create and return a new path node with the specified round rectangle in double
precision floating point coordinates.
|
static PPath |
PPath.createRoundRectangle(float x,
float y,
float width,
float height,
float arcWidth,
float arcHeight)
Create and return a new path node with the specified round rectangle in single
precision floating point coordinates.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.