Class cc.SkewBy

Class Summary
Constructor Attributes Constructor Name and Description
 
Skews a cc.Node object by skewX and skewY degrees

Method Summary

Class Detail

cc.SkewBy()
Skews a cc.Node object by skewX and skewY degrees

Method Detail

  • {cc.SkewBy} clone()
    returns a new clone of the action
    Returns:
    {cc.SkewBy}
  • <static> {cc.SkewBy} cc.SkewBy.create(t, sx, sy)
    // example
    var actionBy = cc.SkewBy.create(2, 0, -90);
    Parameters:
    {Number} t
    time in seconds
    {Number} sx
    sx skew in degrees for X axis
    {Number} sy
    sy skew in degrees for Y axis
    Returns:
    {cc.SkewBy}
  • {Boolean} initWithDuration(t, deltaSkewX, deltaSkewY)
    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.ActionInterval} reverse()
    Returns:
    {cc.ActionInterval}
  • startWithTarget(target)
    Parameters:
    {cc.Node} target