openfl.geom
Here are some selections from the OpenFL Developer's Guide to help you get started with the openfl.geom package:
.. | |
---|---|
ColorTransform | The ColorTransform class lets you adjust the color values in a display object. The color adjustment or color transformation can be applied to all four channels: red, green, blue, and alpha transparency. |
Matrix | The Matrix class represents a transformation matrix that determines how to
map points from one coordinate space to another. You can perform various
graphical transformations on a display object by setting the properties of
a Matrix object, applying that Matrix object to the |
Matrix3D | The Matrix3D class represents a transformation matrix that determines the position and orientation of a three-dimensional (3D) display object. The matrix can perform transformation functions including translation (repositioning along the x, y, and z axes), rotation, and scaling (resizing). The Matrix3D class can also perform perspective projection, which maps points from the 3D coordinate space to a two-dimensional (2D) view. |
Orientation3D | The Orientation3D class is an enumeration of constant
values for representing the orientation style of a Matrix3D object.
The three types of orientation are Euler angles, axis angle, and quaternion.
The |
PerspectiveProjection | The |
Point | The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis. |
Rectangle | A Rectangle object is an area defined by its position, as indicated by its top-left corner point(x, y) and by its width and its height. |
Transform | The Transform class provides access to color adjustment properties and two-
or three-dimensional transformation objects that can be applied to a
display object. During the transformation, the color or the orientation and
position of a display object is adjusted (offset) from the current values
or coordinates to new values or coordinates. The Transform class also
collects data about color and two-dimensional matrix transformations that
are applied to a display object and all of its parent objects. You can
access these combined transformations through the
|
Utils3D | The Utils3D class contains static methods that simplify the implementation of certain three-dimensional matrix operations. |
Vector3D | The Vector3D class represents a point or a location in the three-dimensional space using
the Cartesian coordinates x, y, and z. As in a two-dimensional space, the |