Property | Type | Description | |
---|---|---|---|
bits | int[] | ||
height | int | ||
rowSize | int | ||
width | int |
Method | Description | |
---|---|---|
BitMatrix ( int dimension ) : System | ||
BitMatrix ( int width, int height ) : System | ||
ToString ( ) : String | ||
clear ( ) : void |
Clears all bits (sets to false).
|
|
flip ( int x, int y ) : void |
Flips the given bit.
|
|
getRow ( int y, |
A fast method to retrieve one row of data from the matrix as a BitArray.
|
|
get_Renamed ( int x, int y ) : bool |
Gets the requested bit, where true means black.
|
|
setRegion ( int left, int top, int width, int height ) : void |
Sets a square region of the bit matrix to true.
|
|
set_Renamed ( int x, int y ) : void |
Sets the given bit to true.
|
public BitMatrix ( int width, int height ) : System | ||
width | int | |
height | int | |
return | System |
public flip ( int x, int y ) : void | ||
x | int | The horizontal component (i.e. which column) /// |
y | int | The vertical component (i.e. which row) /// |
return | void |
public getRow ( int y, |
||
y | int | The row to retrieve /// |
row | An optional caller-allocated BitArray, will be allocated if null or too small /// | |
return |
public get_Renamed ( int x, int y ) : bool | ||
x | int | The horizontal component (i.e. which column) /// |
y | int | The vertical component (i.e. which row) /// |
return | bool |
public setRegion ( int left, int top, int width, int height ) : void | ||
left | int | The horizontal position to begin at (inclusive) /// |
top | int | The vertical position to begin at (inclusive) /// |
width | int | The width of the region /// |
height | int | The height of the region /// |
return | void |
public set_Renamed ( int x, int y ) : void | ||
x | int | The horizontal component (i.e. which column) /// |
y | int | The vertical component (i.e. which row) /// |
return | void |