all repos — simplyrpg @ 05a250383b5037effb602fc3ca4d2bb1cdf4da90

Fork of https://github.com/harperd1/simplyRPG — multi-map VTT, token visibility, dark theme, stream HUD

libraries/EaselJS_docs/classes/ColorMatrix.html (view raw)

   1<!DOCTYPE html>
   2<html lang="en">
   3<head>
   4    <meta charset="utf-8">
   5    <link rel="stylesheet" href="../assets/css/yui-cssgrids-min.css">
   6    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
   7    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
   8    <link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
   9    <script src="../assets/js/yui-source.js"></script>
  10	<title>EaselJS v1.0.0 API Documentation : ColorMatrix</title>
  11</head>
  12<body class="yui3-skin-sam">
  13
  14<div id="doc">
  15    <div id="hd" class="yui3-g header">
  16        <div class="yui3-u-3-4">
  17            
  18                <h1><a href="http://www.createjs.com/easeljs"><img src="../assets/docs-icon-EaselJS.png" title="EaselJS"></a></h1>
  19            
  20        </div>
  21        <div class="version">
  22            <em>API Documentation for: 1.0.0</em>
  23        </div>
  24    </div>
  25    <div id="bd" class="yui3-g">
  26
  27        <div class="yui3-u-1-4">
  28            <div id="docs-sidebar" class="sidebar apidocs">
  29                <div id="api-list">
  30    <h2 class="off-left">APIs</h2>
  31    <div id="api-tabview" class="tabview">
  32        <ul class="tabs">
  33            <li><a href="#api-classes">Classes</a></li>
  34        </ul>
  35
  36        <div id="api-tabview-filter">
  37            <input type="search" id="api-filter" placeholder="Type to filter APIs">
  38        </div>
  39
  40        <div id="api-tabview-panel">
  41            <ul id="api-classes" class="apis classes">
  42            
  43                <li><a href="../classes/AlphaMapFilter.html">AlphaMapFilter</a></li>
  44            
  45                <li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
  46            
  47                <li><a href="../classes/Bitmap.html">Bitmap</a></li>
  48            
  49                <li><a href="../classes/BitmapCache.html">BitmapCache</a></li>
  50            
  51                <li><a href="../classes/BitmapText.html">BitmapText</a></li>
  52            
  53                <li><a href="../classes/BlurFilter.html">BlurFilter</a></li>
  54            
  55                <li><a href="../classes/ButtonHelper.html">ButtonHelper</a></li>
  56            
  57                <li><a href="../classes/ColorFilter.html">ColorFilter</a></li>
  58            
  59                <li><a href="../classes/ColorMatrix.html">ColorMatrix</a></li>
  60            
  61                <li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
  62            
  63                <li><a href="../classes/Container.html">Container</a></li>
  64            
  65                <li><a href="../classes/DisplayObject.html">DisplayObject</a></li>
  66            
  67                <li><a href="../classes/DisplayProps.html">DisplayProps</a></li>
  68            
  69                <li><a href="../classes/DOMElement.html">DOMElement</a></li>
  70            
  71                <li><a href="../classes/EaselJS.html">EaselJS</a></li>
  72            
  73                <li><a href="../classes/Event.html">Event</a></li>
  74            
  75                <li><a href="../classes/EventDispatcher.html">EventDispatcher</a></li>
  76            
  77                <li><a href="../classes/Filter.html">Filter</a></li>
  78            
  79                <li><a href="../classes/Graphics.html">Graphics</a></li>
  80            
  81                <li><a href="../classes/Graphics.Arc.html">Graphics.Arc</a></li>
  82            
  83                <li><a href="../classes/Graphics.ArcTo.html">Graphics.ArcTo</a></li>
  84            
  85                <li><a href="../classes/Graphics.BeginPath.html">Graphics.BeginPath</a></li>
  86            
  87                <li><a href="../classes/Graphics.BezierCurveTo.html">Graphics.BezierCurveTo</a></li>
  88            
  89                <li><a href="../classes/Graphics.Circle.html">Graphics.Circle</a></li>
  90            
  91                <li><a href="../classes/Graphics.ClosePath.html">Graphics.ClosePath</a></li>
  92            
  93                <li><a href="../classes/Graphics.Ellipse.html">Graphics.Ellipse</a></li>
  94            
  95                <li><a href="../classes/Graphics.Fill.html">Graphics.Fill</a></li>
  96            
  97                <li><a href="../classes/Graphics.LineTo.html">Graphics.LineTo</a></li>
  98            
  99                <li><a href="../classes/Graphics.MoveTo.html">Graphics.MoveTo</a></li>
 100            
 101                <li><a href="../classes/Graphics.PolyStar.html">Graphics.PolyStar</a></li>
 102            
 103                <li><a href="../classes/Graphics.QuadraticCurveTo.html">Graphics.QuadraticCurveTo</a></li>
 104            
 105                <li><a href="../classes/Graphics.Rect.html">Graphics.Rect</a></li>
 106            
 107                <li><a href="../classes/Graphics.RoundRect.html">Graphics.RoundRect</a></li>
 108            
 109                <li><a href="../classes/Graphics.Stroke.html">Graphics.Stroke</a></li>
 110            
 111                <li><a href="../classes/Graphics.StrokeDash.html">Graphics.StrokeDash</a></li>
 112            
 113                <li><a href="../classes/Graphics.StrokeStyle.html">Graphics.StrokeStyle</a></li>
 114            
 115                <li><a href="../classes/Matrix2D.html">Matrix2D</a></li>
 116            
 117                <li><a href="../classes/MouseEvent.html">MouseEvent</a></li>
 118            
 119                <li><a href="../classes/MovieClip.html">MovieClip</a></li>
 120            
 121                <li><a href="../classes/MovieClipPlugin.html">MovieClipPlugin</a></li>
 122            
 123                <li><a href="../classes/Point.html">Point</a></li>
 124            
 125                <li><a href="../classes/Rectangle.html">Rectangle</a></li>
 126            
 127                <li><a href="../classes/Shadow.html">Shadow</a></li>
 128            
 129                <li><a href="../classes/Shape.html">Shape</a></li>
 130            
 131                <li><a href="../classes/Sprite.html">Sprite</a></li>
 132            
 133                <li><a href="../classes/SpriteSheet.html">SpriteSheet</a></li>
 134            
 135                <li><a href="../classes/SpriteSheetBuilder.html">SpriteSheetBuilder</a></li>
 136            
 137                <li><a href="../classes/SpriteSheetUtils.html">SpriteSheetUtils</a></li>
 138            
 139                <li><a href="../classes/Stage.html">Stage</a></li>
 140            
 141                <li><a href="../classes/StageGL.html">StageGL</a></li>
 142            
 143                <li><a href="../classes/Text.html">Text</a></li>
 144            
 145                <li><a href="../classes/Ticker.html">Ticker</a></li>
 146            
 147                <li><a href="../classes/Touch.html">Touch</a></li>
 148            
 149                <li><a href="../classes/UID.html">UID</a></li>
 150            
 151                <li><a href="../classes/Utility Methods.html">Utility Methods</a></li>
 152            
 153                <li><a href="../classes/VideoBuffer.html">VideoBuffer</a></li>
 154            
 155                <li><a href="../classes/WebGLInspector.html">WebGLInspector</a></li>
 156            
 157            </ul>
 158
 159            <ul id="api-modules" class="apis modules">
 160            
 161                <li><a href="../modules/CreateJS.html">CreateJS</a></li>
 162            
 163                <li><a href="../modules/EaselJS.html">EaselJS</a></li>
 164            
 165            </ul>
 166        </div>
 167    </div>
 168</div>
 169
 170            </div>
 171        </div>
 172        <div class="yui3-u-3-4">
 173            <div id="api-options">
 174        Show:
 175        <label for="api-show-inherited">
 176            <input type="checkbox" id="api-show-inherited" checked>
 177            Inherited
 178        </label>
 179
 180        <label for="api-show-protected">
 181            <input type="checkbox" id="api-show-protected">
 182            Protected
 183        </label>
 184
 185        <label for="api-show-private">
 186            <input type="checkbox" id="api-show-private">
 187            Private
 188        </label>
 189        <label for="api-show-deprecated">
 190            <input type="checkbox" id="api-show-deprecated">
 191            Deprecated
 192        </label>
 193
 194    </div>
 195            <div class="apidocs">
 196                <div id="docs-main">
 197                    <div class="content">
 198                        <h1>ColorMatrix Class</h1>
 199<div class="box meta">
 200    
 201
 202    
 203
 204    
 205        <div class="foundat">
 206            Defined in: <a href="../files/easeljs_filters_ColorMatrix.js.html#l41"><code>ColorMatrix:41</code></a>
 207        </div>
 208    
 209
 210    
 211        
 212            Module: <a href="../modules/EaselJS.html">EaselJS</a>
 213        
 214    
 215
 216    
 217</div>
 218
 219
 220
 221<div class="box intro">
 222    <p>Provides helper functions for assembling a matrix for use with the <a href="../classes/ColorMatrixFilter.html" class="crosslink">ColorMatrixFilter</a>.
 223Most methods return the instance to facilitate chained calls.</p>
 224<h4>Example</h4>
 225
 226<pre class="code prettyprint"><code> myColorMatrix.adjustHue(20).adjustBrightness(50);</code></pre>
 227<p>See <a href="../classes/Filter.html" class="crosslink">Filter</a> for an example of how to apply filters, or <a href="../classes/ColorMatrixFilter.html" class="crosslink">ColorMatrixFilter</a>
 228for an example of how to use ColorMatrix to change a DisplayObject&#39;s color.</p>
 229
 230</div>
 231
 232
 233    <div class="constructor">
 234        <h2>Constructor</h2>
 235        <div id="method_ColorMatrix" class="method item">
 236    <h3 class="name"><code>ColorMatrix</code></h3>
 237
 238    
 239        <div class="args">
 240            <span class="paren">(</span><ul class="args-list inline commas">
 241            
 242                <li class="arg">
 243                    
 244                        <code>brightness</code>
 245                    
 246                </li>
 247            
 248                <li class="arg">
 249                    
 250                        <code>contrast</code>
 251                    
 252                </li>
 253            
 254                <li class="arg">
 255                    
 256                        <code>saturation</code>
 257                    
 258                </li>
 259            
 260                <li class="arg">
 261                    
 262                        <code>hue</code>
 263                    
 264                </li>
 265            
 266            </ul><span class="paren">)</span>
 267        </div>
 268    
 269
 270    
 271
 272    
 273
 274    
 275
 276    
 277
 278    
 279
 280    
 281
 282    
 283
 284    <div class="meta">
 285        
 286            
 287                
 288                <p>
 289                
 290                Defined in
 291                
 292            
 293        
 294        
 295        <a href="../files/easeljs_filters_ColorMatrix.js.html#l41"><code>ColorMatrix:41</code></a>
 296        
 297        </p>
 298
 299
 300        
 301
 302        
 303    </div>
 304
 305    <div class="description">
 306        
 307    </div>
 308
 309    
 310        <div class="params">
 311            <h4>Parameters:</h4>
 312
 313            <ul class="params-list">
 314            
 315                <li class="param">
 316                    
 317                        <code class="param-name">brightness</code>
 318                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 319                    
 320
 321                    
 322
 323                    <div class="param-description">
 324                         
 325                    </div>
 326
 327                    
 328                </li>
 329            
 330                <li class="param">
 331                    
 332                        <code class="param-name">contrast</code>
 333                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 334                    
 335
 336                    
 337
 338                    <div class="param-description">
 339                         
 340                    </div>
 341
 342                    
 343                </li>
 344            
 345                <li class="param">
 346                    
 347                        <code class="param-name">saturation</code>
 348                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 349                    
 350
 351                    
 352
 353                    <div class="param-description">
 354                         
 355                    </div>
 356
 357                    
 358                </li>
 359            
 360                <li class="param">
 361                    
 362                        <code class="param-name">hue</code>
 363                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 364                    
 365
 366                    
 367
 368                    <div class="param-description">
 369                         
 370                    </div>
 371
 372                    
 373                </li>
 374            
 375            </ul>
 376        </div>
 377    
 378
 379    
 380
 381    
 382</div>
 383
 384    </div>
 385
 386
 387<div id="classdocs" class="tabview">
 388    <ul class="api-class-tabs">
 389        <li class="api-class-tab index"><a href="#index">Index</a></li>
 390
 391        
 392            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
 393        
 394        
 395            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
 396        
 397        
 398        
 399    </ul>
 400
 401    <div>
 402        <div id="index" class="api-class-tabpanel index">
 403            <h2 class="off-left">Item Index</h2>
 404
 405            
 406                <div class="index-section methods">
 407                    <h3>Methods</h3>
 408
 409                    <ul class="index-list methods">
 410                        
 411                            <li class="index-item method protected">
 412                                <a href="#method__cleanValue">_cleanValue</a>
 413
 414                                
 415                                
 416                            </li>
 417                        
 418                            <li class="index-item method protected">
 419                                <a href="#method__fixMatrix">_fixMatrix</a>
 420
 421                                
 422                                
 423                            </li>
 424                        
 425                            <li class="index-item method protected">
 426                                <a href="#method__multiplyMatrix">_multiplyMatrix</a>
 427
 428                                
 429                                
 430                            </li>
 431                        
 432                            <li class="index-item method">
 433                                <a href="#method_adjustBrightness">adjustBrightness</a>
 434
 435                                
 436                                
 437                            </li>
 438                        
 439                            <li class="index-item method">
 440                                <a href="#method_adjustColor">adjustColor</a>
 441
 442                                
 443                                
 444                            </li>
 445                        
 446                            <li class="index-item method">
 447                                <a href="#method_adjustContrast">adjustContrast</a>
 448
 449                                
 450                                
 451                            </li>
 452                        
 453                            <li class="index-item method">
 454                                <a href="#method_adjustHue">adjustHue</a>
 455
 456                                
 457                                
 458                            </li>
 459                        
 460                            <li class="index-item method">
 461                                <a href="#method_adjustSaturation">adjustSaturation</a>
 462
 463                                
 464                                
 465                            </li>
 466                        
 467                            <li class="index-item method">
 468                                <a href="#method_clone">clone</a>
 469
 470                                
 471                                
 472                            </li>
 473                        
 474                            <li class="index-item method">
 475                                <a href="#method_concat">concat</a>
 476
 477                                
 478                                
 479                            </li>
 480                        
 481                            <li class="index-item method">
 482                                <a href="#method_copy">copy</a>
 483
 484                                
 485                                
 486                            </li>
 487                        
 488                            <li class="index-item method">
 489                                <a href="#method_reset">reset</a>
 490
 491                                
 492                                
 493                            </li>
 494                        
 495                            <li class="index-item method">
 496                                <a href="#method_setColor">setColor</a>
 497
 498                                
 499                                
 500                            </li>
 501                        
 502                            <li class="index-item method">
 503                                <a href="#method_toArray">toArray</a>
 504
 505                                
 506                                
 507                            </li>
 508                        
 509                            <li class="index-item method">
 510                                <a href="#method_toString">toString</a>
 511
 512                                
 513                                
 514                            </li>
 515                        
 516                    </ul>
 517                </div>
 518            
 519
 520            
 521                <div class="index-section properties">
 522                    <h3>Properties</h3>
 523
 524                    <ul class="index-list properties">
 525                        
 526                            <li class="index-item property protected">
 527                                <a href="#property_DELTA_INDEX">DELTA_INDEX</a>
 528
 529                                
 530                                    <span class="flag static">static</span>
 531                                
 532                                
 533                            </li>
 534                        
 535                            <li class="index-item property protected">
 536                                <a href="#property_IDENTITY_MATRIX">IDENTITY_MATRIX</a>
 537
 538                                
 539                                    <span class="flag static">static</span>
 540                                
 541                                
 542                            </li>
 543                        
 544                            <li class="index-item property protected">
 545                                <a href="#property_LENGTH">LENGTH</a>
 546
 547                                
 548                                    <span class="flag static">static</span>
 549                                
 550                                
 551                            </li>
 552                        
 553                    </ul>
 554                </div>
 555            
 556
 557            
 558
 559            
 560        </div>
 561
 562        
 563            <div id="methods" class="api-class-tabpanel">
 564                <h2 class="off-left">Methods</h2>
 565
 566                
 567                    <div id="method__cleanValue" class="method item protected">
 568    <h3 class="name"><code>_cleanValue</code></h3>
 569
 570    
 571        <div class="args">
 572            <span class="paren">(</span><ul class="args-list inline commas">
 573            
 574                <li class="arg">
 575                    
 576                        <code>value</code>
 577                    
 578                </li>
 579            
 580                <li class="arg">
 581                    
 582                        <code>limit</code>
 583                    
 584                </li>
 585            
 586            </ul><span class="paren">)</span>
 587        </div>
 588    
 589
 590    
 591
 592    
 593
 594    
 595        <span class="flag protected">protected</span>
 596    
 597
 598    
 599
 600    
 601
 602    
 603
 604    
 605
 606    <div class="meta">
 607        
 608            
 609                
 610                <p>
 611                
 612                Defined in
 613                
 614            
 615        
 616        
 617        <a href="../files/easeljs_filters_ColorMatrix.js.html#l343"><code>_cleanValue:343</code></a>
 618        
 619        </p>
 620
 621
 622        
 623
 624        
 625    </div>
 626
 627    <div class="description">
 628        <p>Make sure values are within the specified range, hue has a limit of 180, brightness is 255, others are 100.</p>
 629
 630    </div>
 631
 632    
 633        <div class="params">
 634            <h4>Parameters:</h4>
 635
 636            <ul class="params-list">
 637            
 638                <li class="param">
 639                    
 640                        <code class="param-name">value</code>
 641                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 642                    
 643
 644                    
 645
 646                    <div class="param-description">
 647                        <p>The raw number</p>
 648
 649                    </div>
 650
 651                    
 652                </li>
 653            
 654                <li class="param">
 655                    
 656                        <code class="param-name">limit</code>
 657                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 658                    
 659
 660                    
 661
 662                    <div class="param-description">
 663                        <p>The maximum that the number can be. The minimum is the limit * -1.</p>
 664
 665                    </div>
 666
 667                    
 668                </li>
 669            
 670            </ul>
 671        </div>
 672    
 673
 674    
 675
 676    
 677</div>
 678
 679                
 680                    <div id="method__fixMatrix" class="method item protected">
 681    <h3 class="name"><code>_fixMatrix</code></h3>
 682
 683    
 684        <div class="args">
 685            <span class="paren">(</span><ul class="args-list inline commas">
 686            
 687                <li class="arg">
 688                    
 689                        <code>matrix</code>
 690                    
 691                </li>
 692            
 693            </ul><span class="paren">)</span>
 694        </div>
 695    
 696
 697    
 698
 699    
 700
 701    
 702        <span class="flag protected">protected</span>
 703    
 704
 705    
 706
 707    
 708
 709    
 710
 711    
 712
 713    <div class="meta">
 714        
 715            
 716                
 717                <p>
 718                
 719                Defined in
 720                
 721            
 722        
 723        
 724        <a href="../files/easeljs_filters_ColorMatrix.js.html#l354"><code>_fixMatrix:354</code></a>
 725        
 726        </p>
 727
 728
 729        
 730
 731        
 732    </div>
 733
 734    <div class="description">
 735        <p>Makes sure matrixes are 5x5 (25 long).</p>
 736
 737    </div>
 738
 739    
 740        <div class="params">
 741            <h4>Parameters:</h4>
 742
 743            <ul class="params-list">
 744            
 745                <li class="param">
 746                    
 747                        <code class="param-name">matrix</code>
 748                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
 749                    
 750
 751                    
 752
 753                    <div class="param-description">
 754                         
 755                    </div>
 756
 757                    
 758                </li>
 759            
 760            </ul>
 761        </div>
 762    
 763
 764    
 765
 766    
 767</div>
 768
 769                
 770                    <div id="method__multiplyMatrix" class="method item protected">
 771    <h3 class="name"><code>_multiplyMatrix</code></h3>
 772
 773    
 774        <div class="args">
 775            <span class="paren">(</span><ul class="args-list inline commas">
 776            
 777                <li class="arg">
 778                    
 779                        <code>matrix</code>
 780                    
 781                </li>
 782            
 783            </ul><span class="paren">)</span>
 784        </div>
 785    
 786
 787    
 788
 789    
 790
 791    
 792        <span class="flag protected">protected</span>
 793    
 794
 795    
 796
 797    
 798
 799    
 800
 801    
 802
 803    <div class="meta">
 804        
 805            
 806                
 807                <p>
 808                
 809                Defined in
 810                
 811            
 812        
 813        
 814        <a href="../files/easeljs_filters_ColorMatrix.js.html#l321"><code>_multiplyMatrix:321</code></a>
 815        
 816        </p>
 817
 818
 819        
 820
 821        
 822    </div>
 823
 824    <div class="description">
 825        
 826    </div>
 827
 828    
 829        <div class="params">
 830            <h4>Parameters:</h4>
 831
 832            <ul class="params-list">
 833            
 834                <li class="param">
 835                    
 836                        <code class="param-name">matrix</code>
 837                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
 838                    
 839
 840                    
 841
 842                    <div class="param-description">
 843                         
 844                    </div>
 845
 846                    
 847                </li>
 848            
 849            </ul>
 850        </div>
 851    
 852
 853    
 854
 855    
 856</div>
 857
 858                
 859                    <div id="method_adjustBrightness" class="method item">
 860    <h3 class="name"><code>adjustBrightness</code></h3>
 861
 862    
 863        <div class="args">
 864            <span class="paren">(</span><ul class="args-list inline commas">
 865            
 866                <li class="arg">
 867                    
 868                        <code>value</code>
 869                    
 870                </li>
 871            
 872            </ul><span class="paren">)</span>
 873        </div>
 874    
 875
 876    
 877        <span class="returns-inline">
 878            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
 879        </span>
 880    
 881
 882    
 883
 884    
 885
 886    
 887
 888    
 889
 890    
 891        <span class="flag chainable">chainable</span>
 892    
 893
 894    
 895
 896    <div class="meta">
 897        
 898            
 899                
 900                <p>
 901                
 902                Defined in
 903                
 904            
 905        
 906        
 907        <a href="../files/easeljs_filters_ColorMatrix.js.html#l154"><code>adjustBrightness:154</code></a>
 908        
 909        </p>
 910
 911
 912        
 913
 914        
 915    </div>
 916
 917    <div class="description">
 918        <p>Adjusts the brightness of pixel color by adding the specified value to the red, green and blue channels.
 919Positive values will make the image brighter, negative values will make it darker.</p>
 920
 921    </div>
 922
 923    
 924        <div class="params">
 925            <h4>Parameters:</h4>
 926
 927            <ul class="params-list">
 928            
 929                <li class="param">
 930                    
 931                        <code class="param-name">value</code>
 932                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 933                    
 934
 935                    
 936
 937                    <div class="param-description">
 938                        <p>A value between -255 &amp; 255 that will be added to the RGB channels.</p>
 939
 940                    </div>
 941
 942                    
 943                </li>
 944            
 945            </ul>
 946        </div>
 947    
 948
 949    
 950        <div class="returns">
 951            <h4>Returns:</h4>
 952
 953            <div class="returns-description">
 954                
 955                    
 956                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
 957                    
 958                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
 959
 960                
 961            </div>
 962        </div>
 963    
 964
 965    
 966</div>
 967
 968                
 969                    <div id="method_adjustColor" class="method item">
 970    <h3 class="name"><code>adjustColor</code></h3>
 971
 972    
 973        <div class="args">
 974            <span class="paren">(</span><ul class="args-list inline commas">
 975            
 976                <li class="arg">
 977                    
 978                        <code>brightness</code>
 979                    
 980                </li>
 981            
 982                <li class="arg">
 983                    
 984                        <code>contrast</code>
 985                    
 986                </li>
 987            
 988                <li class="arg">
 989                    
 990                        <code>saturation</code>
 991                    
 992                </li>
 993            
 994                <li class="arg">
 995                    
 996                        <code>hue</code>
 997                    
 998                </li>
 999            
1000            </ul><span class="paren">)</span>
1001        </div>
1002    
1003
1004    
1005        <span class="returns-inline">
1006            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1007        </span>
1008    
1009
1010    
1011
1012    
1013
1014    
1015
1016    
1017
1018    
1019        <span class="flag chainable">chainable</span>
1020    
1021
1022    
1023
1024    <div class="meta">
1025        
1026            
1027                
1028                <p>
1029                
1030                Defined in
1031                
1032            
1033        
1034        
1035        <a href="../files/easeljs_filters_ColorMatrix.js.html#l135"><code>adjustColor:135</code></a>
1036        
1037        </p>
1038
1039
1040        
1041
1042        
1043    </div>
1044
1045    <div class="description">
1046        <p>Shortcut method to adjust brightness, contrast, saturation and hue.
1047Equivalent to calling adjustHue(hue), adjustContrast(contrast),
1048adjustBrightness(brightness), adjustSaturation(saturation), in that order.</p>
1049
1050    </div>
1051
1052    
1053        <div class="params">
1054            <h4>Parameters:</h4>
1055
1056            <ul class="params-list">
1057            
1058                <li class="param">
1059                    
1060                        <code class="param-name">brightness</code>
1061                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1062                    
1063
1064                    
1065
1066                    <div class="param-description">
1067                         
1068                    </div>
1069
1070                    
1071                </li>
1072            
1073                <li class="param">
1074                    
1075                        <code class="param-name">contrast</code>
1076                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1077                    
1078
1079                    
1080
1081                    <div class="param-description">
1082                         
1083                    </div>
1084
1085                    
1086                </li>
1087            
1088                <li class="param">
1089                    
1090                        <code class="param-name">saturation</code>
1091                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1092                    
1093
1094                    
1095
1096                    <div class="param-description">
1097                         
1098                    </div>
1099
1100                    
1101                </li>
1102            
1103                <li class="param">
1104                    
1105                        <code class="param-name">hue</code>
1106                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1107                    
1108
1109                    
1110
1111                    <div class="param-description">
1112                         
1113                    </div>
1114
1115                    
1116                </li>
1117            
1118            </ul>
1119        </div>
1120    
1121
1122    
1123        <div class="returns">
1124            <h4>Returns:</h4>
1125
1126            <div class="returns-description">
1127                
1128                    
1129                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1130                    
1131                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1132
1133                
1134            </div>
1135        </div>
1136    
1137
1138    
1139</div>
1140
1141                
1142                    <div id="method_adjustContrast" class="method item">
1143    <h3 class="name"><code>adjustContrast</code></h3>
1144
1145    
1146        <div class="args">
1147            <span class="paren">(</span><ul class="args-list inline commas">
1148            
1149                <li class="arg">
1150                    
1151                        <code>value</code>
1152                    
1153                </li>
1154            
1155            </ul><span class="paren">)</span>
1156        </div>
1157    
1158
1159    
1160        <span class="returns-inline">
1161            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1162        </span>
1163    
1164
1165    
1166
1167    
1168
1169    
1170
1171    
1172
1173    
1174        <span class="flag chainable">chainable</span>
1175    
1176
1177    
1178
1179    <div class="meta">
1180        
1181            
1182                
1183                <p>
1184                
1185                Defined in
1186                
1187            
1188        
1189        
1190        <a href="../files/easeljs_filters_ColorMatrix.js.html#l175"><code>adjustContrast:175</code></a>
1191        
1192        </p>
1193
1194
1195        
1196
1197        
1198    </div>
1199
1200    <div class="description">
1201        <p>Adjusts the contrast of pixel color.
1202Positive values will increase contrast, negative values will decrease contrast.</p>
1203
1204    </div>
1205
1206    
1207        <div class="params">
1208            <h4>Parameters:</h4>
1209
1210            <ul class="params-list">
1211            
1212                <li class="param">
1213                    
1214                        <code class="param-name">value</code>
1215                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1216                    
1217
1218                    
1219
1220                    <div class="param-description">
1221                        <p>A value between -100 &amp; 100.</p>
1222
1223                    </div>
1224
1225                    
1226                </li>
1227            
1228            </ul>
1229        </div>
1230    
1231
1232    
1233        <div class="returns">
1234            <h4>Returns:</h4>
1235
1236            <div class="returns-description">
1237                
1238                    
1239                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1240                    
1241                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1242
1243                
1244            </div>
1245        </div>
1246    
1247
1248    
1249</div>
1250
1251                
1252                    <div id="method_adjustHue" class="method item">
1253    <h3 class="name"><code>adjustHue</code></h3>
1254
1255    
1256        <div class="args">
1257            <span class="paren">(</span><ul class="args-list inline commas">
1258            
1259                <li class="arg">
1260                    
1261                        <code>value</code>
1262                    
1263                </li>
1264            
1265            </ul><span class="paren">)</span>
1266        </div>
1267    
1268
1269    
1270        <span class="returns-inline">
1271            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1272        </span>
1273    
1274
1275    
1276
1277    
1278
1279    
1280
1281    
1282
1283    
1284        <span class="flag chainable">chainable</span>
1285    
1286
1287    
1288
1289    <div class="meta">
1290        
1291            
1292                
1293                <p>
1294                
1295                Defined in
1296                
1297            
1298        
1299        
1300        <a href="../files/easeljs_filters_ColorMatrix.js.html#l234"><code>adjustHue:234</code></a>
1301        
1302        </p>
1303
1304
1305        
1306
1307        
1308    </div>
1309
1310    <div class="description">
1311        <p>Adjusts the hue of the pixel color.</p>
1312
1313    </div>
1314
1315    
1316        <div class="params">
1317            <h4>Parameters:</h4>
1318
1319            <ul class="params-list">
1320            
1321                <li class="param">
1322                    
1323                        <code class="param-name">value</code>
1324                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1325                    
1326
1327                    
1328
1329                    <div class="param-description">
1330                        <p>A value between -180 &amp; 180.</p>
1331
1332                    </div>
1333
1334                    
1335                </li>
1336            
1337            </ul>
1338        </div>
1339    
1340
1341    
1342        <div class="returns">
1343            <h4>Returns:</h4>
1344
1345            <div class="returns-description">
1346                
1347                    
1348                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1349                    
1350                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1351
1352                
1353            </div>
1354        </div>
1355    
1356
1357    
1358</div>
1359
1360                
1361                    <div id="method_adjustSaturation" class="method item">
1362    <h3 class="name"><code>adjustSaturation</code></h3>
1363
1364    
1365        <div class="args">
1366            <span class="paren">(</span><ul class="args-list inline commas">
1367            
1368                <li class="arg">
1369                    
1370                        <code>value</code>
1371                    
1372                </li>
1373            
1374            </ul><span class="paren">)</span>
1375        </div>
1376    
1377
1378    
1379        <span class="returns-inline">
1380            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1381        </span>
1382    
1383
1384    
1385
1386    
1387
1388    
1389
1390    
1391
1392    
1393        <span class="flag chainable">chainable</span>
1394    
1395
1396    
1397
1398    <div class="meta">
1399        
1400            
1401                
1402                <p>
1403                
1404                Defined in
1405                
1406            
1407        
1408        
1409        <a href="../files/easeljs_filters_ColorMatrix.js.html#l208"><code>adjustSaturation:208</code></a>
1410        
1411        </p>
1412
1413
1414        
1415
1416        
1417    </div>
1418
1419    <div class="description">
1420        <p>Adjusts the color saturation of the pixel.
1421Positive values will increase saturation, negative values will decrease saturation (trend towards greyscale).</p>
1422
1423    </div>
1424
1425    
1426        <div class="params">
1427            <h4>Parameters:</h4>
1428
1429            <ul class="params-list">
1430            
1431                <li class="param">
1432                    
1433                        <code class="param-name">value</code>
1434                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1435                    
1436
1437                    
1438
1439                    <div class="param-description">
1440                        <p>A value between -100 &amp; 100.</p>
1441
1442                    </div>
1443
1444                    
1445                </li>
1446            
1447            </ul>
1448        </div>
1449    
1450
1451    
1452        <div class="returns">
1453            <h4>Returns:</h4>
1454
1455            <div class="returns-description">
1456                
1457                    
1458                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1459                    
1460                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1461
1462                
1463            </div>
1464        </div>
1465    
1466
1467    
1468</div>
1469
1470                
1471                    <div id="method_clone" class="method item">
1472    <h3 class="name"><code>clone</code></h3>
1473
1474    
1475        <span class="paren">()</span>
1476    
1477
1478    
1479        <span class="returns-inline">
1480            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1481        </span>
1482    
1483
1484    
1485
1486    
1487
1488    
1489
1490    
1491
1492    
1493
1494    
1495
1496    <div class="meta">
1497        
1498            
1499                
1500                <p>
1501                
1502                Defined in
1503                
1504            
1505        
1506        
1507        <a href="../files/easeljs_filters_ColorMatrix.js.html#l273"><code>clone:273</code></a>
1508        
1509        </p>
1510
1511
1512        
1513
1514        
1515    </div>
1516
1517    <div class="description">
1518        <p>Returns a clone of this ColorMatrix.</p>
1519
1520    </div>
1521
1522    
1523
1524    
1525        <div class="returns">
1526            <h4>Returns:</h4>
1527
1528            <div class="returns-description">
1529                
1530                    
1531                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1532                    
1533                    <p>A clone of this ColorMatrix.</p>
1534
1535                
1536            </div>
1537        </div>
1538    
1539
1540    
1541</div>
1542
1543                
1544                    <div id="method_concat" class="method item">
1545    <h3 class="name"><code>concat</code></h3>
1546
1547    
1548        <div class="args">
1549            <span class="paren">(</span><ul class="args-list inline commas">
1550            
1551                <li class="arg">
1552                    
1553                        <code>matrix</code>
1554                    
1555                </li>
1556            
1557            </ul><span class="paren">)</span>
1558        </div>
1559    
1560
1561    
1562        <span class="returns-inline">
1563            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1564        </span>
1565    
1566
1567    
1568
1569    
1570
1571    
1572
1573    
1574
1575    
1576        <span class="flag chainable">chainable</span>
1577    
1578
1579    
1580
1581    <div class="meta">
1582        
1583            
1584                
1585                <p>
1586                
1587                Defined in
1588                
1589            
1590        
1591        
1592        <a href="../files/easeljs_filters_ColorMatrix.js.html#l259"><code>concat:259</code></a>
1593        
1594        </p>
1595
1596
1597        
1598
1599        
1600    </div>
1601
1602    <div class="description">
1603        <p>Concatenates (multiplies) the specified matrix with this one.</p>
1604
1605    </div>
1606
1607    
1608        <div class="params">
1609            <h4>Parameters:</h4>
1610
1611            <ul class="params-list">
1612            
1613                <li class="param">
1614                    
1615                        <code class="param-name">matrix</code>
1616                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
1617                    
1618
1619                    
1620
1621                    <div class="param-description">
1622                        <p>An array or ColorMatrix instance.</p>
1623
1624                    </div>
1625
1626                    
1627                </li>
1628            
1629            </ul>
1630        </div>
1631    
1632
1633    
1634        <div class="returns">
1635            <h4>Returns:</h4>
1636
1637            <div class="returns-description">
1638                
1639                    
1640                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1641                    
1642                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1643
1644                
1645            </div>
1646        </div>
1647    
1648
1649    
1650</div>
1651
1652                
1653                    <div id="method_copy" class="method item">
1654    <h3 class="name"><code>copy</code></h3>
1655
1656    
1657        <div class="args">
1658            <span class="paren">(</span><ul class="args-list inline commas">
1659            
1660                <li class="arg">
1661                    
1662                        <code>matrix</code>
1663                    
1664                </li>
1665            
1666            </ul><span class="paren">)</span>
1667        </div>
1668    
1669
1670    
1671        <span class="returns-inline">
1672            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1673        </span>
1674    
1675
1676    
1677
1678    
1679
1680    
1681
1682    
1683
1684    
1685        <span class="flag chainable">chainable</span>
1686    
1687
1688    
1689
1690    <div class="meta">
1691        
1692            
1693                
1694                <p>
1695                
1696                Defined in
1697                
1698            
1699        
1700        
1701        <a href="../files/easeljs_filters_ColorMatrix.js.html#l295"><code>copy:295</code></a>
1702        
1703        </p>
1704
1705
1706        
1707
1708        
1709    </div>
1710
1711    <div class="description">
1712        <p>Copy the specified matrix&#39;s values to this matrix.</p>
1713
1714    </div>
1715
1716    
1717        <div class="params">
1718            <h4>Parameters:</h4>
1719
1720            <ul class="params-list">
1721            
1722                <li class="param">
1723                    
1724                        <code class="param-name">matrix</code>
1725                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
1726                    
1727
1728                    
1729
1730                    <div class="param-description">
1731                        <p>An array or ColorMatrix instance.</p>
1732
1733                    </div>
1734
1735                    
1736                </li>
1737            
1738            </ul>
1739        </div>
1740    
1741
1742    
1743        <div class="returns">
1744            <h4>Returns:</h4>
1745
1746            <div class="returns-description">
1747                
1748                    
1749                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1750                    
1751                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1752
1753                
1754            </div>
1755        </div>
1756    
1757
1758    
1759</div>
1760
1761                
1762                    <div id="method_reset" class="method item">
1763    <h3 class="name"><code>reset</code></h3>
1764
1765    
1766        <span class="paren">()</span>
1767    
1768
1769    
1770        <span class="returns-inline">
1771            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1772        </span>
1773    
1774
1775    
1776
1777    
1778
1779    
1780
1781    
1782
1783    
1784        <span class="flag chainable">chainable</span>
1785    
1786
1787    
1788
1789    <div class="meta">
1790        
1791            
1792                
1793                <p>
1794                
1795                Defined in
1796                
1797            
1798        
1799        
1800        <a href="../files/easeljs_filters_ColorMatrix.js.html#l125"><code>reset:125</code></a>
1801        
1802        </p>
1803
1804
1805        
1806
1807        
1808    </div>
1809
1810    <div class="description">
1811        <p>Resets the matrix to identity values.</p>
1812
1813    </div>
1814
1815    
1816
1817    
1818        <div class="returns">
1819            <h4>Returns:</h4>
1820
1821            <div class="returns-description">
1822                
1823                    
1824                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1825                    
1826                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1827
1828                
1829            </div>
1830        </div>
1831    
1832
1833    
1834</div>
1835
1836                
1837                    <div id="method_setColor" class="method item">
1838    <h3 class="name"><code>setColor</code></h3>
1839
1840    
1841        <div class="args">
1842            <span class="paren">(</span><ul class="args-list inline commas">
1843            
1844                <li class="arg">
1845                    
1846                        <code>brightness</code>
1847                    
1848                </li>
1849            
1850                <li class="arg">
1851                    
1852                        <code>contrast</code>
1853                    
1854                </li>
1855            
1856                <li class="arg">
1857                    
1858                        <code>saturation</code>
1859                    
1860                </li>
1861            
1862                <li class="arg">
1863                    
1864                        <code>hue</code>
1865                    
1866                </li>
1867            
1868            </ul><span class="paren">)</span>
1869        </div>
1870    
1871
1872    
1873        <span class="returns-inline">
1874            <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>
1875        </span>
1876    
1877
1878    
1879
1880    
1881
1882    
1883
1884    
1885
1886    
1887        <span class="flag chainable">chainable</span>
1888    
1889
1890    
1891
1892    <div class="meta">
1893        
1894            
1895                
1896                <p>
1897                
1898                Defined in
1899                
1900            
1901        
1902        
1903        <a href="../files/easeljs_filters_ColorMatrix.js.html#l111"><code>setColor:111</code></a>
1904        
1905        </p>
1906
1907
1908        
1909
1910        
1911    </div>
1912
1913    <div class="description">
1914        <p>Resets the instance with the specified values.</p>
1915
1916    </div>
1917
1918    
1919        <div class="params">
1920            <h4>Parameters:</h4>
1921
1922            <ul class="params-list">
1923            
1924                <li class="param">
1925                    
1926                        <code class="param-name">brightness</code>
1927                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1928                    
1929
1930                    
1931
1932                    <div class="param-description">
1933                         
1934                    </div>
1935
1936                    
1937                </li>
1938            
1939                <li class="param">
1940                    
1941                        <code class="param-name">contrast</code>
1942                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1943                    
1944
1945                    
1946
1947                    <div class="param-description">
1948                         
1949                    </div>
1950
1951                    
1952                </li>
1953            
1954                <li class="param">
1955                    
1956                        <code class="param-name">saturation</code>
1957                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1958                    
1959
1960                    
1961
1962                    <div class="param-description">
1963                         
1964                    </div>
1965
1966                    
1967                </li>
1968            
1969                <li class="param">
1970                    
1971                        <code class="param-name">hue</code>
1972                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1973                    
1974
1975                    
1976
1977                    <div class="param-description">
1978                         
1979                    </div>
1980
1981                    
1982                </li>
1983            
1984            </ul>
1985        </div>
1986    
1987
1988    
1989        <div class="returns">
1990            <h4>Returns:</h4>
1991
1992            <div class="returns-description">
1993                
1994                    
1995                        <span class="type"><a href="../classes/ColorMatrix.html" class="crosslink">ColorMatrix</a></span>:
1996                    
1997                    <p>The ColorMatrix instance the method is called on (useful for chaining calls.)</p>
1998
1999                
2000            </div>
2001        </div>
2002    
2003
2004    
2005</div>
2006
2007                
2008                    <div id="method_toArray" class="method item">
2009    <h3 class="name"><code>toArray</code></h3>
2010
2011    
2012        <span class="paren">()</span>
2013    
2014
2015    
2016        <span class="returns-inline">
2017            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2018        </span>
2019    
2020
2021    
2022
2023    
2024
2025    
2026
2027    
2028
2029    
2030
2031    
2032
2033    <div class="meta">
2034        
2035            
2036                
2037                <p>
2038                
2039                Defined in
2040                
2041            
2042        
2043        
2044        <a href="../files/easeljs_filters_ColorMatrix.js.html#l282"><code>toArray:282</code></a>
2045        
2046        </p>
2047
2048
2049        
2050
2051        
2052    </div>
2053
2054    <div class="description">
2055        <p>Return a length 25 (5x5) array instance containing this matrix&#39;s values.</p>
2056
2057    </div>
2058
2059    
2060
2061    
2062        <div class="returns">
2063            <h4>Returns:</h4>
2064
2065            <div class="returns-description">
2066                
2067                    
2068                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
2069                    
2070                    <p>An array holding this matrix&#39;s values.</p>
2071
2072                
2073            </div>
2074        </div>
2075    
2076
2077    
2078</div>
2079
2080                
2081                    <div id="method_toString" class="method item">
2082    <h3 class="name"><code>toString</code></h3>
2083
2084    
2085        <span class="paren">()</span>
2086    
2087
2088    
2089        <span class="returns-inline">
2090            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
2091        </span>
2092    
2093
2094    
2095
2096    
2097
2098    
2099
2100    
2101
2102    
2103
2104    
2105
2106    <div class="meta">
2107        
2108            
2109                
2110                <p>
2111                
2112                Defined in
2113                
2114            
2115        
2116        
2117        <a href="../files/easeljs_filters_ColorMatrix.js.html#l310"><code>toString:310</code></a>
2118        
2119        </p>
2120
2121
2122        
2123
2124        
2125    </div>
2126
2127    <div class="description">
2128        <p>Returns a string representation of this object.</p>
2129
2130    </div>
2131
2132    
2133
2134    
2135        <div class="returns">
2136            <h4>Returns:</h4>
2137
2138            <div class="returns-description">
2139                
2140                    
2141                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
2142                    
2143                    <p>a string representation of the instance.</p>
2144
2145                
2146            </div>
2147        </div>
2148    
2149
2150    
2151</div>
2152
2153                
2154            </div>
2155        
2156
2157        
2158            <div id="properties" class="api-class-tabpanel">
2159                <h2 class="off-left">Properties</h2>
2160
2161                
2162                    <div id="property_DELTA_INDEX" class="property item protected">
2163    <h3 class="name"><code>DELTA_INDEX</code></h3>
2164    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2165
2166    
2167
2168    
2169        <span class="flag protected">protected</span>
2170    
2171
2172    
2173
2174    
2175        <span class="flag static">static</span>
2176    
2177
2178    
2179
2180    <div class="meta">
2181        
2182            
2183                
2184                <p>
2185                
2186                Defined in
2187                
2188            
2189        
2190        
2191        <a href="../files/easeljs_filters_ColorMatrix.js.html#l64"><code>DELTA_INDEX:64</code></a>
2192        
2193        </p>
2194
2195        
2196
2197        
2198    </div>
2199
2200    <div class="description">
2201        <p>Array of delta values for contrast calculations.</p>
2202
2203    </div>
2204
2205    
2206
2207    
2208
2209    
2210</div>
2211
2212                
2213                    <div id="property_IDENTITY_MATRIX" class="property item protected">
2214    <h3 class="name"><code>IDENTITY_MATRIX</code></h3>
2215    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2216
2217    
2218
2219    
2220        <span class="flag protected">protected</span>
2221    
2222
2223    
2224
2225    
2226        <span class="flag static">static</span>
2227    
2228
2229    
2230
2231    <div class="meta">
2232        
2233            
2234                
2235                <p>
2236                
2237                Defined in
2238                
2239            
2240        
2241        
2242        <a href="../files/easeljs_filters_ColorMatrix.js.html#l85"><code>IDENTITY_MATRIX:85</code></a>
2243        
2244        </p>
2245
2246        
2247
2248        
2249    </div>
2250
2251    <div class="description">
2252        <p>Identity matrix values.</p>
2253
2254    </div>
2255
2256    
2257
2258    
2259
2260    
2261</div>
2262
2263                
2264                    <div id="property_LENGTH" class="property item protected">
2265    <h3 class="name"><code>LENGTH</code></h3>
2266    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
2267
2268    
2269
2270    
2271        <span class="flag protected">protected</span>
2272    
2273
2274    
2275
2276    
2277        <span class="flag static">static</span>
2278    
2279
2280    
2281
2282    <div class="meta">
2283        
2284            
2285                
2286                <p>
2287                
2288                Defined in
2289                
2290            
2291        
2292        
2293        <a href="../files/easeljs_filters_ColorMatrix.js.html#l100"><code>LENGTH:100</code></a>
2294        
2295        </p>
2296
2297        
2298
2299        
2300    </div>
2301
2302    <div class="description">
2303        <p>The constant length of a color matrix.</p>
2304
2305    </div>
2306
2307    
2308
2309    
2310
2311    
2312</div>
2313
2314                
2315            </div>
2316        
2317
2318        
2319
2320        
2321    </div>
2322</div>
2323
2324                    </div>
2325                </div>
2326            </div>
2327        </div>
2328    </div>
2329</div>
2330<script src="../assets/vendor/prettify/prettify-min.js"></script>
2331<script>prettyPrint();</script>
2332<script src="../assets/js/yui-prettify.js"></script>
2333<script src="../assets/../api.js"></script>
2334<script src="../assets/js/api-filter.js"></script>
2335<script src="../assets/js/api-list.js"></script>
2336<script src="../assets/js/api-search.js"></script>
2337<script src="../assets/js/apidocs.js"></script>
2338</body>
2339</html>