com.nchart3d.NChart.NChartTextureBrush Class Reference
The NChartTextureBrush class provides the brush that fills the area with a texture (aka image). More...
Inheritance diagram for com.nchart3d.NChart.NChartTextureBrush:
Public Member Functions | |
| NChartTextureBrush (Bitmap image) | |
| Create brush with image. More... | |
| NChartTextureBrush (Bitmap image, int color, NChartTexturePosition position) | |
| Create brush with image, background color and position of texture. More... | |
| Bitmap | getImage () |
| Image of the brush. | |
| void | setImage (Bitmap image) |
| For details see getImage(). | |
| int | getBackgroundColor () |
| Color that fills the area around the texture (if any). More... | |
| void | setBackgroundColor (int backgroundColor) |
| For details see getBackgroundColor(). | |
| NChartTexturePosition | getPosition () |
| Position of the texture. More... | |
| void | setPosition (NChartTexturePosition position) |
| For details see getPosition(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartBrush | |
| abstract void | scaleColorRGB (float rScale, float gScale, float bScale) |
| Scale components of brush's colors (if any) by given values. More... | |
| abstract NChartBrush | copy () |
| Being implemented in every child this method will return proper deep copy of object. More... | |
| abstract void | scaleColorHSV (float hScale, float sScale, float vScale) |
| Scale components of brush's colors (if any) according to HSV color model. More... | |
| double | getOpacity () |
| Opacity of the brush in interval 0..1, 0 – full transparency, 1 – full opacity. More... | |
| void | setOpacity (double opacity) |
| For details see getOpacity(). | |
| NChartShadingModel | getShadingModel () |
| Shading model that should be applied to an object if it's painted with this brush. More... | |
| void | setShadingModel (NChartShadingModel shadingModel) |
| For details see getShadingModel(). | |
Detailed Description
The NChartTextureBrush class provides the brush that fills the area with a texture (aka image).
Constructor & Destructor Documentation
|
inline |
Create brush with image.
- Parameters
-
image - image for the brush.
|
inline |
Create brush with image, background color and position of texture.
- Parameters
-
image - image for the brush. color - background color for the brush. position - position for the texture.
Member Function Documentation
|
inline |
Color that fills the area around the texture (if any).
If null, the area is filled with black color.
|
inline |
Position of the texture.
- See also
- NChartTexturePosition

Public Member Functions inherited from