| Package | ardisia.filters |
| Class | public class ContrastFilter |
| Inheritance | ContrastFilter spark.filters.ColorMatrixFilter |
Change the intensity of the filter via the "strength" property. The strength of the filter varies from 0 to 100 with a default value of 50.
A strength of 50 has no effect.
| Property | Defined By | ||
|---|---|---|---|
| strength : Number
The strength of the filter. | ContrastFilter | ||
| Method | Defined By | ||
|---|---|---|---|
| ContrastFilter | |||
updateFilterMatrix():void
Update the filter matrix. | ContrastFilter | ||
| strength | property |
strength:NumberThe strength of the filter.
Value varies from 0 to 100. A value of 50 has no effect.
The default value is 50.
public function get strength():Number public function set strength(value:Number):void| ContrastFilter | () | Constructor |
public function ContrastFilter()| updateFilterMatrix | () | method |
public function updateFilterMatrix():voidUpdate the filter matrix.