com.nchart3d.NChart.NChartRim Class Reference

The NChartRim class provides methods to handle rim markers. More...

Inheritance diagram for com.nchart3d.NChart.NChartRim:
com.nchart3d.NChart.NChartMarker

Public Member Functions

int getTopLeftColor ()
 Color of the top-left half. More...
 
void setTopLeftColor (int topLeftColor)
 For details see getTopLeftColor().
 
int getBottomRightColor ()
 Color of the bottom-right half. More...
 
void setBottomRightColor (int bottomRightColor)
 For details see getBottomRightColor().
 
float getThickness ()
 Rim thickness (in pixels). More...
 
void setThickness (float thickness)
 For details see getThickness().
 
void inset (int color)
 Set topLeftColor and bottomRightColor based on the given color in a way that an "inset" rim is created. More...
 
void outset (int color)
 Set topLeftColor and bottomRightColor based on the given color in a way that an "outset" rim is created. More...
 
- Public Member Functions inherited from com.nchart3d.NChart.NChartMarker
NChartMarkerShape getShape ()
 Shape of the marker. More...
 
void setShape (NChartMarkerShape shape)
 For details see getShape().
 
NChartModel getModel ()
 Model of the marker. More...
 
void setModel (NChartModel model)
 For details see getModel().
 
NChartBrush getBrush ()
 Brush that fills the marker. More...
 
void setBrush (NChartBrush brush)
 For details see getBrush().
 
NChartBrush getBorderBrush ()
 Brush of the marker's border. More...
 
void setBorderBrush (NChartBrush borderBrush)
 For details see getBorderBrush().
 
float getBorderThickness ()
 Thickness of the marker's border in pixels. More...
 
void setBorderThickness (float borderThickness)
 For details see getBorderThickness().
 
float getAngleX ()
 Rotation of the marker around the X-axis in radians. More...
 
void setAngleX (float angleX)
 For details see getAngleX().
 
float getAngleY ()
 Rotation of the marker around the Y-axis in radians. More...
 
void setAngleY (float angleY)
 For details see getAngleY().
 
float getAngleZ ()
 Rotation of the marker around the Z-axis in radians. More...
 
void setAngleZ (float angleZ)
 For details see getAngleZ().
 
float getSize ()
 Size of the marker. More...
 
void setSize (float size)
 For details see getSize().
 
float getSelectionSize ()
 Size of the marker's touch area (the area you can touch to select the corresponding chart point). More...
 
void setSelectionSize (float selectionSize)
 For details see getSelectionSize().
 
int getResolution ()
 Resolution of the marker. More...
 
void setResolution (int resolution)
 For details see getResolution().
 

Detailed Description

The NChartRim class provides methods to handle rim markers.


Rim markers allow special (normally quite thick) borders consisting of left-top and bottom-right halves. You can tune the colors of these parts separately achieving the effects like inset/outset border in HTML/CSS.

Member Function Documentation

int com.nchart3d.NChart.NChartRim.getBottomRightColor ( )
inline

Color of the bottom-right half.

The default value is null (which means, rim is not displayed).

float com.nchart3d.NChart.NChartRim.getThickness ( )
inline

Rim thickness (in pixels).

The default value is 0 (which means, rim is not displayed).

int com.nchart3d.NChart.NChartRim.getTopLeftColor ( )
inline

Color of the top-left half.

The default value is null (which means, rim is not displayed).

void com.nchart3d.NChart.NChartRim.inset ( int  color)
inline

Set topLeftColor and bottomRightColor based on the given color in a way that an "inset" rim is created.

This method sets the topLeftColor property to the darker version of the given color and bottomRightColor property to the lighter version of the given color.

Parameters
color- basic color for the inset rim.
void com.nchart3d.NChart.NChartRim.outset ( int  color)
inline

Set topLeftColor and bottomRightColor based on the given color in a way that an "outset" rim is created.

This method sets the topLeftColor property to the lighter version of the given color and bottomRightColor property to the darker version of the given color.

Parameters
color- basic color for the outset rim.