| Package | Description |
|---|---|
| com.codename1.charts |
The main ChartComponent Package
|
| com.codename1.impl |
The implementation package should not be used by developers, it is an internal implementation detail
which will break compatibility between major Codename One releases.
|
| 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 |
|---|---|
Transform |
ChartComponent.getTransform()
Gets the transform for the chart.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChartComponent.setTransform(Transform transform)
Sets the transform for the chart.
|
| Modifier and Type | Method and Description |
|---|---|
Transform |
CodenameOneImplementation.getTransform(Object graphics)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodenameOneImplementation.getTransform(Object nativeGraphics,
Transform t)
Sets the given transform to the current transform in the given graphics object.
|
void |
CodenameOneImplementation.setTransform(Object graphics,
Transform transform)
Sets the transformation matrix to be applied to all drawing operations.
|
boolean |
CodenameOneImplementation.transformEqualsImpl(Transform t1,
Transform t2) |
| Modifier and Type | Method and Description |
|---|---|
Transform |
Transform.copy()
Creates a copy of the current transform.
|
Transform |
Transform.getInverse()
Deprecated.
Use
getInverse(com.codename1.ui.Transform) instead. |
Transform |
Graphics.getTransform()
Deprecated.
Use
Graphics.getTransform(com.codename1.ui.Transform) instead. |
Transform |
MultipleGradientPaint.getTransform()
Gets the gradient transform.
|
static Transform |
Transform.IDENTITY() |
static Transform |
Transform.makeAffine(double m00,
double m10,
double m01,
double m11,
double m02,
double m12) |
static Transform |
Transform.makeCamera(float eyeX,
float eyeY,
float eyeZ,
float centerX,
float centerY,
float centerZ,
float upX,
float upY,
float upZ)
Makes a transform to simulate a camera's perspective at a given location.
|
static Transform |
Transform.makeIdentity()
Makes a new identity transform.
|
static Transform |
Transform.makeOrtho(float left,
float right,
float bottom,
float top,
float near,
float far)
Makes a new orthographic projection transform.
|
static Transform |
Transform.makePerspective(float fovy,
float aspect,
float zNear,
float zFar)
Makes a new perspective transform.
|
static Transform |
Transform.makeRotation(float angle,
float x,
float y) |
static Transform |
Transform.makeRotation(float angle,
float x,
float y,
float z)
Makes a new rotation transformation.
|
static Transform |
Transform.makeScale(float x,
float y)
Creates a new scale transform.
|
static Transform |
Transform.makeScale(float x,
float y,
float z)
Makes a new scale transformation.
|
static Transform |
Transform.makeTranslation(float x,
float y) |
static Transform |
Transform.makeTranslation(float x,
float y,
float z)
Makes a new translation transformation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Transform.concatenate(Transform t)
Sets the current transform to be the concatenation of the current transform and
the provided transform.
|
boolean |
Transform.equals(Transform t2) |
void |
Transform.getInverse(Transform inverseOut) |
void |
Graphics.getTransform(Transform t)
Loads the provided transform with the current transform applied to this graphics context.
|
void |
Graphics.setTransform(Transform transform)
Sets the transformation
com.codename1.ui.geom.Matrix to apply to drawing in this graphics context. |
void |
Transform.setTransform(Transform t)
Sets the current transform to be identical to the provided transform.
|
void |
MultipleGradientPaint.setTransform(Transform transform)
Sets the transform for the gradient.
|
void |
Graphics.transform(Transform transform)
Concatenates the given transform to the context's transform.
|
| Constructor and Description |
|---|
LinearGradientPaint(double startX,
double startY,
double endX,
double endY,
float[] fractions,
int[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
Transform gradientTransform)
Creates a LinearGradientPaint with the specified settings.
|
LinearGradientPaint(float startX,
float startY,
float endX,
float endY,
float[] fractions,
int[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
Transform gradientTransform)
Creates a LinearGradientPaint with the specified settings.
|
MultipleGradientPaint(float[] fractions,
int[] colors,
MultipleGradientPaint.CycleMethod cycleMethod,
MultipleGradientPaint.ColorSpaceType colorSpace,
Transform gradientTransform)
Creates a new MultipleGradient paint
|
| Modifier and Type | Method and Description |
|---|---|
Transform |
AffineTransform.toTransform()
Converts the transform to a
Transform |
| Modifier and Type | Method and Description |
|---|---|
Shape |
GeneralPath.createTransformedShape(Transform m)
Returns a shape formed by transforming the current shape with the provided
transform.
|
boolean |
GeneralPath.equals(Shape shape,
Transform t) |
PathIterator |
Shape.getPathIterator(Transform transform)
Gets an iterator where all points are transformed by the provided transform.
|
PathIterator |
Rectangle.getPathIterator(Transform m)
{Gets an iterator where all points are transformed by the provided transform.}
|
PathIterator |
Rectangle2D.getPathIterator(Transform m)
{Gets an iterator where all points are transformed by the provided transform.}
|
PathIterator |
GeneralPath.getPathIterator(Transform m)
{Gets an iterator where all points are transformed by the provided transform.}
|
void |
GeneralPath.setPath(GeneralPath p,
Transform t)
Sets this path to be identical to the provided path
p with the given
Transform t applied to it. |
void |
GeneralPath.setRect(Rectangle r,
Transform t)
Sets this path to be a rectangle with the provided bounds, but with
the given transform applied to it.
|
void |
GeneralPath.setShape(Shape s,
Transform t)
Sets this path to be a copy of the provided shape, but with the provided
transform applied to it.
|
void |
GeneralPath.transform(Transform m)
Transforms the current path in place using the given transform.
|
| Modifier and Type | Method and Description |
|---|---|
Transform |
Node.getLocalToParentTransform()
Deprecated.
Gets the transform to use to transform the Node into its parent node's space.
|
Transform |
Node.getLocalToSceneTransform()
Deprecated.
Gets the transform to use to go from the local coordinates to scene coordinates.
|
Transform |
Node.getLocalToScreenTransform()
Deprecated.
|
Transform |
Camera.getTransform()
Deprecated.
|
Transform |
PerspectiveCamera.getTransform()
Deprecated.
|
Copyright © 2021. All rights reserved.