The graphics
package is an intuitive graphics API to manipulate all display objects in your applications. Offers a lot of powerful functionality to create and work with graphics, colors and geometrics objects, all neatly wrapped up in a well designed, consistent and clean programming interface.
Classes
- Border
- Enables and disables the border on the specified sides.
- CardinalDirection
- The enumeration of the four cardinal directions or cardinal points are the directions of north, south, east, and west, commonly denoted by their initials: N, S, E, W.
- Corner
- Determinates the corner settings to set a rectangular shape or a component.
- Layout
- A base class that manages the layout rendering in visual elements on the screen of your applications.
Namespaces
- Align
- The
graphics.Align
enumeration provides constant values to align displays or components. - ArcType
- This
graphics.ArcType
enumeration of all types used to draw an Arc. - colors
- The
graphics.colors
library is a set of classes and utilities for colors operations. - Direction
- The
graphics.Direction
enumeration defines most common relative directions. - DirectionOrder
- Defines the order to display all children in a specific horizontal or vertical container.
- display
- The
graphics.display
library is a set of classes and utilities for Geometry Operations. - geom
- The
graphics.geom
library is a set of classes and utilities for Geometry Operations. - LayoutBufferMode
- The enumeration of the
graphics.Layout
buffering modes. - Orientation
- The
graphics.Orientation
enumeration defines layout orientation options. - Position
- Constants defining the position declaration lets you declare what the position of an element should be.
- tmx
- The
graphics.tmx
library is a set of classes and utilities for GTile Maps Operations. - ZOrder
- The
graphics.ZOrder
enumeration provides constants to defines the z order depth of a display object added to stage of your application..
Methods
-
isDirectionable(target)
-
Indicates if the specific objet is
graphics.Directionable
and contains thedirection
property.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isgraphics.Directionable
.