BaseChart.patternColor
ChartDirector Ver 4.1 (C++ Edition)
BaseChart.patternColor
Usage
int patternColor(IntArray colorArray, int height, int startX = 0, int startY = 0);
Description
Creates a pattern color using an array of colors as the bitmap pattern.
A pattern color is a dynamic color that changes according to a 2D periodic pattern. When it is used to fill an area, the area will look like being tiled with a wallpaper pattern.
SEO India | Search Engine Optimization Company India
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
A 32-bit integer representing the pattern color.
© 2006 Advanced Software Engineering Limited. All rights reserved.
|