Свойство | Type | Description | |
---|---|---|---|
bits | int[] | ||
height | int | ||
rowSize | int | ||
width | int |
Méthode | 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 dimension ) : System | ||
dimension | int | |
Résultat | System |
public BitMatrix ( int width, int height ) : System | ||
width | int | |
height | int | |
Résultat | 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) /// |
Résultat | 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 /// | |
Résultat |
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) /// |
Résultat | 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 /// |
Résultat | 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) /// |
Résultat | void |