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.Alignenumeration provides constant values to align displays or components. - ArcType
- This
graphics.ArcTypeenumeration of all types used to draw an Arc. - colors
- The
graphics.colorslibrary is a set of classes and utilities for colors operations. - Direction
- The
graphics.Directionenumeration defines most common relative directions. - DirectionOrder
- Defines the order to display all children in a specific horizontal or vertical container.
- display
- The
graphics.displaylibrary is a set of classes and utilities for Geometry Operations. - geom
- The
graphics.geomlibrary is a set of classes and utilities for Geometry Operations. - LayoutBufferMode
- The enumeration of the
graphics.Layoutbuffering modes. - Orientation
- The
graphics.Orientationenumeration defines layout orientation options. - Position
- Constants defining the position declaration lets you declare what the position of an element should be.
- tmx
- The
graphics.tmxlibrary is a set of classes and utilities for GTile Maps Operations. - ZOrder
- The
graphics.ZOrderenumeration 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.Directionableand contains thedirectionproperty.Parameters:
Name Type Description targetobject The object to evaluate.
Returns:
trueif the object isgraphics.Directionable.