4 Replies Latest reply on Jul 30, 2009 6:23 AM by CannotCompute

    undefined method rotatedGradientMatrix???

    CannotCompute

      I don't understand what I am doing wrong.  I have a UIComponent and wanted to create a roundRect using a rotatedGradientMatrix.  According to the documentation there should be a horizontal, vertical, and rotated gradient matrix.  For some reason I keep getting an error:

       

      1180: Call to a possibly undefined method rotatedGradientMatrix.

      It works fine with horizontal and vertical....
      this.drawRoundRect(0,0,W,H,3,Colors,Alphas,rotatedGradientMatrix(0,0,W,H,45));