Class cc.SkewBy

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.SkewBy(t, sx, sy)
Skews a cc.Node object by skewX and skewY degrees.

Method Summary

Class Detail

cc.SkewBy(t, sx, sy)
Skews a cc.Node object by skewX and skewY degrees. Relative to its attribute modification.
Parameters:
{Number} t
time in seconds
{Number} sx
skew in degrees for X axis
{Number} sy
skew in degrees for Y axis

Field Detail

<static> {cc.SkewBy} cc.SkewBy.create
Please use cc.skewBy instead.
Skews a cc.Node object by skewX and skewY degrees.
Relative to its attribute modification.
Deprecated:
since v3.0 please use cc.skewBy instead.

Method Detail

  • {cc.SkewBy} clone()
    returns a new clone of the action
    Returns:
    {cc.SkewBy}
  • ctor(t, sx, sy)
    Constructor function, override it to extend the construction behavior, remember to call "this._super()" in the extended "ctor" function.
    Parameters:
    {Number} t
    time in seconds
    {Number} sx
    skew in degrees for X axis
    {Number} sy
    skew in degrees for Y axis
  • {Boolean} initWithDuration(t, deltaSkewX, deltaSkewY)
    Initializes the action.
    Parameters:
    {Number} t
    time in seconds
    {Number} deltaSkewX
    skew in degrees for X axis
    {Number} deltaSkewY
    skew in degrees for Y axis
    Returns:
    {Boolean}
  • {cc.SkewBy} reverse()
    Returns a reversed action.
    Returns:
    {cc.SkewBy}
  • startWithTarget(target)
    Start the action width target.
    Parameters:
    {cc.Node} target