Class ShapePaint.ShapePlainColorPaint
java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.ShapePaint.ShapeColorPaint
org.graphstream.ui.swing.renderer.shape.swing.ShapePaint.ShapePlainColorPaint
- All Implemented Interfaces:
ShapePaint
- Enclosing interface:
- ShapePaint
public static class ShapePaint.ShapePlainColorPaint 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
color
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 ShapePlainColorPaint(java.awt.Color color)
-
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
-
color
public java.awt.Color color
-
-
Constructor Details
-
ShapePlainColorPaint
public ShapePlainColorPaint(java.awt.Color color)
-
-
Method Details
-
paint
public java.awt.Paint paint(double value, java.awt.Color optColor)- Specified by:
paint
in classShapePaint.ShapeColorPaint
-