Tutorials
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.
- RGB
- Encapsulates an rgb color.
- RGBA
- Encapsulates an rgba color.
- Corner
- Determinates the corner settings to set a rectangular shape or a component.
- Stage
- Get the stage informations.
- AspectRatio
- The AspectRatio object encapsulates the width and height components of an object.
- Circle
- A simple circle definition in a two-dimensional coordinate system.
- ColorTransform
- The
ColorTransform
class lets you adjust the color values in a display object.
- Dimension
- The Dimension object encapsulates the width and height components of an object.
- EdgeMetrics
- The
EdgeMetrics
class specifies the thickness, in pixels, of the four edge regions around a visual component.
- Ellipse
- The Ellipse object can be used to specify a hit area for displays.
- Matrix
- The Matrix class represents a transformation matrix that determines how to map points from one coordinate space to another.
- Point
- The Point class represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
- Polygon
- A simple location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
- Rectangle
- The Rectangle class is used to create and modify Rectangle objects.
- Vector2D
- A simple location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
- Vector3D
- The
Vector3D
class represents a point or a location in the three-dimensional space using the Cartesian coordinates x
, y
, and z
.
- Layout
- A base class that manages the layout rendering in visual elements on the screen of your applications.
- Base
- A tmx base object definition.
- Frame
- A basic terrain definition.
- Image
- A tmx image definition.
- ImageLayer
- An image layer definition.
- Layer
- A main layer definition.
- ObjectGroup
- An object group layer definition.
- Property
- A custom property definition.
- Terrain
- A basic terrain definition.
- Tile
- A basic tile definition.
- TileLayer
- A basic tile layer definition.
- TileMap
- A flexible standard implementation to describe a tile based map.
- TileObject
- A basic tile object definition.
- TileSet
- A flexible standard implementation to describe a tile based map.
- Browser
- Get the browser informations
- Os
- Get the os informations
- Accelerometer
- The Accelerometer class get the device's location or movement.
- Attribute
- Determinates a basic attribute definition.
- ArrayIterator
- MapIterator
- KeyValuePair
- An object that maps keys to values.
- ArrayMap
- Hash table based implementation of the Map interface.
- MapEntry
- Represents a basic pair
key/value
entry in a KeyValuePair
.
- MapFormatter
- Converts a
KeyValuePair
to a custom string representation.
- Method
- Determinates a basic method definition.
- ValueObject
- Defines a basic value object.
- Enum
- ConcurrencyError
- Thrown when methods that have detected concurrent modification of an object when such modification is not permissible.
- InvalidChannelError
- Thrown when an invalid channel is find.
- InvalidFilterError
- Thrown when an invalid filter is find.
- NonUniqueKeyError
- Thrown when a key is non unique.
- NoSuchElementError
- Thrown by an Enumeration to indicate that there are no more elements in the enumeration.
- MultiEvaluator
- This
Evaluable
combine a collection of evaluators to evaluates a specified value.
- PropertyEvaluator
- Evaluates a type string expression and return the property value who corresponding in the target object specified in this evaluator.
- RomanEvaluator
- Evaluates an int value and transform it in roman numeral expression.
- Event
- EventDispatcher
- ExpressionFormatter
- ObjectArgument
- ObjectConfig
- ObjectDefinition
- ObjectDefinitionContainer
- ObjectFactory
- ObjectListener
- ObjectMethod
- ObjectProperty
- ObjectReceiver
- ObjectStrategy
- Parameters
- Logger
- A
Logger
object is used to log messages for a specific system or application components.
- LoggerEntry
- LoggerFactory
- This factory provides pseudo-hierarchical logging capabilities with multiple format and output options.
- LoggerLevel
- The logger levels that is used within the logging framework.
- LoggerTarget
- Use the LoggerTarget objects to display, store, or pass log messages to another destination.
- ConsoleTarget
- LineFormattedTarget
- TraceTarget
- ElseIf
- ElseIfEmptyString
- ElseIfEquals
- ElseIfFalse
- ElseIfNull
- ElseIfTrue
- ElseIfUndefined
- ElseIfZero
- IfEmptyString
- IfEquals
- IfFalse
- IfNull
- IfTask
- IfTrue
- IfUndefined
- IfZero
- ArrayModel
- ChangeModel
- MapModel
- MemoryModel
- PRNG
- A pseudo random number generator (PRNG) is an algorithm for generating a sequence of numbers that approximates the properties of random numbers.
- Range
- Represents a range of numeric values. This range can be immutable.
- RomanNumber
- The tool class to parse and transforme the Roman numerals.
- Action
- This abstract class represents the basic definition implemented in the Action objects.
- Batch
- Enables you to apply a common
Action
to a group of Action
objects.
- BatchTask
- Batchs a serie of actions and run it in the same time.
- Cache
- Enqueue a collection of members definitions (commands) to apply or invoke with the specified target object.
- Chain
- A chain is a sequence with a finite or infinite number of actions.
- Do
- A simple command to do something.
- FrameTimer
- A FrameTimer let you run code on a specified time sequence and use the
requestAnimationFrame
method.
- Lock
- Invoked to lock a specific
Lockable
object.
- Task
- An abstract class to create a set of complex commands or actions.
- TaskGroup
- The abstract class to creates collections who group some
Action
objects in one.
- TimeoutPolicy
- Defines the policies of the timeout states in your application.
- Timer
- The
Timer
objects which let you run code on a specified time sequence.
- Unlock
- Invoked to unlock a specific
Lockable
object.
- And
- BooleanRule
- DivBy
- EmptyString
- Equals
- Even
- False
- GreaterOrEqualsThan
- GreaterThan
- IsBoolean
- IsNaN
- IsNumber
- IsString
- LessOrEqualsThan
- LessThan
- Not
- NotEquals
- Null
- Odd
- Or
- True
- Undefined
- Zero
- Signal
- SignalEntry
- Motion
- Transition
- Tween
- The Tween class lets you use to move, resize, and fade visual elements easily on your applications.
- TweenUnit
- The TweenUnit class interpolate in time a value between
0
and 1
.
Namespaces
- core
- The
core
package is specialized in functions utilities that are highly reusable without creating any dependencies.
- arrays
- The
core.arrays
package is a modular JavaScript library that provides extra Array
methods.
- chars
- The
core.chars
package is a modular JavaScript library that provides extra String
methods to validate and transform a basic character.
- colors
- The
core.colors
package is a modular JavaScript library that provides extra rgb color methods.
- date
- The
core.date
package is a modular JavaScript library that provides extra Date
methods.
- easings
- The
core.easings
library contains all the easing functions to create the specific tweening effects.
- functors
- The
core.functors
package is a modular JavaScript library that provides extra Function
methods.
- maths
- The
core.maths
package is a modular JavaScript library that provides extra mathematics
methods and implementations.
- numbers
- The
core.numbers
package is a modular JavaScript library that provides extra Number
methods and implementations.
- objects
- The
core.objects
package is a modular JavaScript library that provides extra Object
methods and implementations.
- random
- The
core.objects
package is a modular JavaScript library that provides extra methods to generates a random number.
- reflect
- The
core.reflect
package is a modular JavaScript library that provides extra methods to to obtain information about loaded objects or generate it.
- strings
- The
core.strings
package is a modular JavaScript library that provides extra String
methods.
- graphics
- 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.
- StageAspectRatio
- The
graphics.display.StageAspectRatio
enumeration provides values for the Stage.setAspectRatio() method.
- StageDisplayState
- The
graphics.display.StageDisplayState
enumeration defines the different display state of the stage.
- StageOrientation
- The
graphics.display.StageOrientation
enumeration defines constants enumerating the possible orientations of the stage and the device.
- 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.
- PropertyType
- The
PropertyType
enumeration provides valid values for the tmx.Property.type
property.
- TileMapOrientation
- The
TileMapOrientation
enumeration provides valid values for the tmx.TileMap.orientation
property.
- TileMapRenderOrder
- The
TileMapRenderOrder
enumeration provides valid values for the tmx.TileMap.renderorder
property.
- ZOrder
- The
graphics.ZOrder
enumeration provides constants to defines the z order depth of a display object added to stage of your application..
- screens
- Device
- The
screens.Device
enumeration defines constants enumerating the possible type of the device.
- sensors
- system
- The
system
library is the root package for the VEGAS JS framework.
- data
- The
system.data
library provides a framework unified for representing and manipulating collections.
- iterators
- This package contains all
Iterator
implementations : ArrayIterator
, MapIterator
, etc.
- maps
- This package contains all
KeyValuePair
extended implementations : ArrayMap
, etc.
- errors
- The
system.errors
package contains error classes that are part of the VEGAS JS Application Programming Interface (API).
- evaluators
- The
system.evaluators
library contains classes to evaluates some objects.
- events
- The
system.events
package provides an W3C Event Model library.
- EventPhase
- formatters
- The
system.formatters
library contains classes to format objects to a specific string expression.
- ioc
- The
system.ioc
library provides a simple et strong implementation of the Inversion of Control (IoC) principle.
- MagicReference
- ObjectAttribute
- ObjectOrder
- ObjectScope
- ObjectStrategies
- TypePolicy
- logging
- The
system.logging
library defines functions and classes which implement a flexible event logging system for applications and libraries.
- targets
- This package contains all LoggerTarget implementations are used to display, store, or pass log messages to another destination.
- logics
- The
system.logics
library perform some tasks based on whether a given condition holds true
or not.
- models
- The
system.models
library provides a simple MVC implementation with a collection of Model
classes to manage your applications.
- arrays
- maps
- numeric
- The
system.numeric
library contains classes and tools that provides extra numeric
methods and implementations.
- process
- The
system.process
library allow you to create and manage asynchronous operations in your applications.
- TaskPhase
- The enumeration of all phases in the
Task
objects.
- rules
- The
system.rules
library defines a set of functions and classes to evaluate some basic or complex conditions in your applications.
- signals
- The
system.signals
library is light-weight, strongly-typed messaging tools.
- transitions
- The
system.transitions
library is a simple animations toolkit to use in your projects, your games, your websites.