ChartDirector 7.0 (Java Edition)

LinearMeter.LinearMeter


Usage

public LinearMeter(int width, int height [, int bgColor [, int edgeColor [, int raisedEffect ]]])

Description

Creates a new LinearMeter object.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the chart in pixels.
height(Mandatory)The height of the chart in pixels.
bgColorBackgroundColorThe background color of the chart.
edgeColorTransparentThe edge color of the chart.
raisedEffect0The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat.

Return Value

The LinearMeter object created.