Packagepegas.geom
Classpublic class UVCoordinate
ImplementsGeometry

Coordinate system for bitmaps. It represents the position of a vertex in the Bitmap.



Public Properties
 PropertyDefined by
  u : Number
Defined the u horizontal coordinate value.
UVCoordinate
  v : Number
Defined the v vertical coordinate value.
UVCoordinate
  ZERO : UVCoordinate
[static] Defines the UVCoordinate object with the u and v properties set to zero.
UVCoordinate
Public Methods
 MethodDefined by
  
UVCoordinate(u:Number = 0, v:Number = 0)
Creates a new UVCoordinate instance.
UVCoordinate
  
clone():*
Returns a shallow copy of this instance.
UVCoordinate
  
equals(o:*):Boolean
Compares the specified object with this object for equality.
UVCoordinate
  
toObject():Object
Returns the Object representation of this object.
UVCoordinate
  
toSource(indent:int = 0):String
Returns the source code string representation of the object.
UVCoordinate
  
toString():String
Returns the string representation of the object.
UVCoordinate
Property detail
uproperty
public var u:Number

Defined the u horizontal coordinate value.

vproperty 
public var v:Number

Defined the v vertical coordinate value.

ZEROproperty 
public static var ZERO:UVCoordinate

Defines the UVCoordinate object with the u and v properties set to zero.

Constructor detail
UVCoordinate()constructor
public function UVCoordinate(u:Number = 0, v:Number = 0)

Creates a new UVCoordinate instance.

Parameters
u:Number (default = 0) — The horizontal coordinate value. The default value is zero.
 
v:Number (default = 0) — The vertical coordinate value. The default value is zero.
Method detail
clone()method
public function clone():*

Returns a shallow copy of this instance.

Returns
* — a shallow copy of this instance.
equals()method 
public function equals(o:*):Boolean

Compares the specified object with this object for equality.

Parameters
o:*

Returns
Booleantrue if the the specified object is equal with this object.
toObject()method 
public function toObject():Object

Returns the Object representation of this object.

Returns
Object — the Object representation of this object.
toSource()method 
public function toSource(indent:int = 0):String

Returns the source code string representation of the object.

Parameters
indent:int (default = 0)

Returns
String — the source code string representation of the object.
toString()method 
public function toString():String

Returns the string representation of the object.

Returns
String — the string representation of the object.