Class ShapePaint.ShapeDynPlainColorPaint
java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.ShapePaint.ShapeColorPaint
org.graphstream.ui.swing.renderer.shape.swing.ShapePaint.ShapeDynPlainColorPaint
- All Implemented Interfaces:
ShapePaint
- Enclosing interface:
- ShapePaint
public static class ShapePaint.ShapeDynPlainColorPaint extends ShapePaint.ShapeColorPaint
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graphstream.ui.swing.renderer.shape.swing.ShapePaint
ShapePaint.ShapeAreaPaint, ShapePaint.ShapeColorPaint, ShapePaint.ShapeDiagonal1GradientPaint, ShapePaint.ShapeDiagonal2GradientPaint, ShapePaint.ShapeDynPlainColorPaint, ShapePaint.ShapeGradientPaint, ShapePaint.ShapeHorizontalGradientPaint, ShapePaint.ShapeImageScaledPaint, ShapePaint.ShapeImageScaledRatioMaxPaint, ShapePaint.ShapeImageScaledRatioMinPaint, ShapePaint.ShapeImageTiledPaint, ShapePaint.ShapePlainColorPaint, ShapePaint.ShapeRadialGradientPaint, ShapePaint.ShapeVerticalGradientPaint
-
Field Summary
Fields Modifier and Type Field Description java.awt.Color[]
colors
Fields inherited from interface org.graphstream.ui.swing.renderer.shape.swing.ShapePaint
predefFractions, predefFractions10, predefFractions2, predefFractions3, predefFractions4, predefFractions5, predefFractions6, predefFractions7, predefFractions8, predefFractions9
-
Constructor Summary
Constructors Constructor Description ShapeDynPlainColorPaint(java.awt.Color[] colors)
-
Method Summary
Modifier and Type Method Description java.awt.Paint
paint(double value, java.awt.Color optColor)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graphstream.ui.swing.renderer.shape.swing.ShapePaint
interpolateColor
-
Field Details
-
colors
public java.awt.Color[] colors
-
-
Constructor Details
-
ShapeDynPlainColorPaint
public ShapeDynPlainColorPaint(java.awt.Color[] colors)
-
-
Method Details
-
paint
public java.awt.Paint paint(double value, java.awt.Color optColor)- Specified by:
paint
in classShapePaint.ShapeColorPaint
-