| Package | Description |
|---|---|
| com.codename1.charts.compat |
This package contains compatibility classes for internal use
|
| com.codename1.charts.views |
Provides the classes that handle the actual rendering / drawing of the charts, based on the provided model and renderer.
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.ui.geom |
Contains classes related to geometry locations and calculations such as
rectangle and size
|
| com.codename1.ui.scene |
This package provides a light-weight scene graph for Codename One.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Canvas.drawArc(Rectangle2D oval,
float currentAngle,
float sweepAngle,
boolean useCenter,
Paint paint)
Deprecated.
|
void |
Canvas.drawArcWithGradient(Rectangle2D oval,
float currentAngle,
float sweepAngle,
boolean useCenter,
Paint paint,
GradientDrawable gradient)
Deprecated.
|
void |
Canvas.drawRoundRect(Rectangle2D rect,
float rx,
float ry,
Paint mPaint)
Deprecated.
|
void |
Paint.getTextBounds(String string,
int start,
int count,
Rectangle2D rect)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
ClickableArea.getRect() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractChart.drawLabel(Canvas canvas,
String labelText,
DefaultRenderer renderer,
List<Rectangle2D> prevLabelsBounds,
int centerX,
int centerY,
float shortRadius,
float longRadius,
float currentAngle,
float angle,
int left,
int right,
int color,
Paint paint,
boolean line,
boolean display)
Draws a text label.
|
| Constructor and Description |
|---|
ClickableArea(Rectangle2D rect,
double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
void |
LinearGradientPaint.paint(Graphics g,
Rectangle2D bounds)
Paints linear gradient in the given bounds.
|
void |
Paint.paint(Graphics g,
Rectangle2D bounds)
Paints in the given bounds.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
Rectangle2D.intersection(double rX,
double rY,
double rW,
double rH)
Returns a rectangle that intersects the given rectangle with this rectangle
|
Rectangle2D |
Rectangle2D.intersection(Rectangle2D r)
Returns a rectangle that intersects the given rectangle with this rectangle
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Rectangle2D.contains(Rectangle2D rect)
Checks whether or not this Rectangle entirely contains the specified
Rectangle.
|
static void |
Rectangle2D.intersection(double rrX,
double rrY,
double rrW,
double rrH,
double rtx1,
double rty1,
double rtw2,
double rth2,
Rectangle2D dest)
Returns a rectangle that intersects the given rectangle with this rectangle
|
Rectangle2D |
Rectangle2D.intersection(Rectangle2D r)
Returns a rectangle that intersects the given rectangle with this rectangle
|
boolean |
Rectangle2D.intersects(Rectangle2D rect)
Determines whether or not this Rectangle and the specified Rectangle
location (x, y) with the specified dimensions (width, height),
intersect.
|
| Constructor and Description |
|---|
Rectangle2D(Rectangle2D rect)
A copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
Node.getBoundsInScene(Rectangle2D out)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
Node.getBoundsInScene(Rectangle2D out)
Deprecated.
|
Copyright © 2022. All rights reserved.