[C#] | public int patternColor(int[] colorArray, int height [, int startX, int startY ]); |
[VB] | Public Function patternColor(colorArray As Integer(), height As Integer [, startX As Integer, startY As Integer ]) As Integer |
ChartDirector 7.1 (.NET Edition)
DrawArea.
Usage
[C#] | public int patternColor(int[] colorArray, int height [, int startX, int startY ]); |
[VB] | Public Function patternColor(colorArray As Integer(), height As Integer [, startX As Integer, startY As Integer ]) As Integer |
Description
Arguments
Argument | Default | Description |
---|---|---|
colorArray | (Mandatory) | An array of colors representing the colors of the bitmap pixels. The color of the pixel at (x, y) should correspond to index (x + y * width - 1) of the array. |
height | (Mandatory) | The height of the bitmap in pixels. (The width is automatically computed as the size of the color array divided by the height.) |
startX | 0 | The x coordinate of a reference point to align with the top-left corner the pattern. |
startY | 0 | The y coordinate of a reference point to align with the top-left corner the pattern. |
Return Value