| Package | com.hook.imageprocessing.siox.canvas.interfaces |
| Interface | public interface ICanvas |
| Implementors | Canvas |
| Property | Defined By | ||
|---|---|---|---|
| confidenceMatrix : Vector.<Number>
Returns the confidence matrix vector that contains the confidence of the pixels. | ICanvas | ||
| imageData : Vector.<Number>
Returns the image data vector that contains the pixel data. | ICanvas | ||
| imageHeight : Number [read-only]
Returns the image height. | ICanvas | ||
| imageWidth : Number [read-only]
Returns the image width. | ICanvas | ||
| renderBitmapData : BitmapData [read-only]
Returns the bitmap data that is used to display the image. | ICanvas | ||
| Method | Defined By | ||
|---|---|---|---|
refresh():void
Renders the entire canvas from the confidence matrix vector and image data vector. | ICanvas | ||
render():void
Renders the entire canvas from the confidence matrix vector and image data vector. | ICanvas | ||
update(changed:Vector.<Number>):void
Updated the canvas based on a vector of updated pixels. | ICanvas | ||
| confidenceMatrix | property |
confidenceMatrix:Vector.<Number>Returns the confidence matrix vector that contains the confidence of the pixels.
public function get confidenceMatrix():Vector.<Number> public function set confidenceMatrix(value:Vector.<Number>):void| imageData | property |
imageData:Vector.<Number>Returns the image data vector that contains the pixel data.
public function get imageData():Vector.<Number> public function set imageData(value:Vector.<Number>):void| imageHeight | property |
imageHeight:Number [read-only] Returns the image height.
public function get imageHeight():Number| imageWidth | property |
imageWidth:Number [read-only] Returns the image width.
public function get imageWidth():Number| renderBitmapData | property |
renderBitmapData:BitmapData [read-only] Returns the bitmap data that is used to display the image.
public function get renderBitmapData():BitmapData| refresh | () | method |
public function refresh():voidRenders the entire canvas from the confidence matrix vector and image data vector.
| render | () | method |
public function render():voidRenders the entire canvas from the confidence matrix vector and image data vector.
| update | () | method |
public function update(changed:Vector.<Number>):voidUpdated the canvas based on a vector of updated pixels. This greatly helps with performances if only a small amount of pixels were modified.
Parameters
changed:Vector.<Number> — Vector containing changed pixels.
|