com.ijchart.xychart.render.paint
Interface IPaintScale

All Known Implementing Classes:
GrayPaintScale, LookupPaintScale

public interface IPaintScale

Title: IJChart

Description: a chart library for the Java(tm) platform.

An interface for get paint object by a specified value.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Field Summary
static double DEFAULT_LOWER_BOUND
           The default lower bound.
static double DEFAULT_UPPER_BOUND
           The default upper bound.
 
Method Summary
 double getLowerBound()
           The lower bound.
 java.awt.Paint getPaint(double value)
           Returns a Paint instance for the specified value.
 double getUpperBound()
           The upper bound.
 

Field Detail

DEFAULT_LOWER_BOUND

static final double DEFAULT_LOWER_BOUND
The default lower bound.

See Also:
Constant Field Values

DEFAULT_UPPER_BOUND

static final double DEFAULT_UPPER_BOUND
The default upper bound.

See Also:
Constant Field Values
Method Detail

getLowerBound

double getLowerBound()
The lower bound.

Returns:
double The lower bound.

getUpperBound

double getUpperBound()
The upper bound.

Returns:
double The upper bound.

getPaint

java.awt.Paint getPaint(double value)
Returns a Paint instance for the specified value.

Parameters:
value - double The value.
Returns:
Paint The paint object (never null).