public interface ShapePaint
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShapePaint.ShapeAreaPaint |
static class |
ShapePaint.ShapeColorPaint |
static class |
ShapePaint.ShapeDiagonal1GradientPaint |
static class |
ShapePaint.ShapeDiagonal2GradientPaint |
static class |
ShapePaint.ShapeDynPlainColorPaint |
static class |
ShapePaint.ShapeGradientPaint |
static class |
ShapePaint.ShapeHorizontalGradientPaint |
static class |
ShapePaint.ShapeImageScaledPaint |
static class |
ShapePaint.ShapeImageScaledRatioMaxPaint |
static class |
ShapePaint.ShapeImageScaledRatioMinPaint |
static class |
ShapePaint.ShapeImageTiledPaint |
static class |
ShapePaint.ShapePlainColorPaint |
static class |
ShapePaint.ShapeRadialGradientPaint |
static class |
ShapePaint.ShapeVerticalGradientPaint |
| Modifier and Type | Field and Description |
|---|---|
static float[][] |
predefFractions |
static float[] |
predefFractions10 |
static float[] |
predefFractions2 |
static float[] |
predefFractions3 |
static float[] |
predefFractions4 |
static float[] |
predefFractions5 |
static float[] |
predefFractions6 |
static float[] |
predefFractions7 |
static float[] |
predefFractions8 |
static float[] |
predefFractions9 |
| Modifier and Type | Method and Description |
|---|---|
static ShapePaint |
apply(org.graphstream.ui.graphicGraph.stylesheet.Style style) |
static ShapePaint |
apply(org.graphstream.ui.graphicGraph.stylesheet.Style style,
boolean forShadow) |
static java.awt.Color[] |
createColors(org.graphstream.ui.graphicGraph.stylesheet.Style style,
boolean forShadow)
The array of colors in the fill-color property of the style.
|
static java.awt.Color[] |
createColors(org.graphstream.ui.graphicGraph.stylesheet.Style style,
int n,
org.graphstream.ui.graphicGraph.stylesheet.Colors theColors) |
static float[] |
createFractions(org.graphstream.ui.graphicGraph.stylesheet.Style style,
java.lang.Boolean forShadow)
An array of floats regularly spaced in range [0,1], the number of floats is given by the
style fill-color count.
|
static float[] |
createFractions(org.graphstream.ui.graphicGraph.stylesheet.Style style,
int n) |
default java.awt.Color |
interpolateColor(java.awt.Color[] colors,
double value) |
static java.awt.Color |
interpolateColor(org.graphstream.ui.graphicGraph.stylesheet.Colors colors,
double value) |
static final float[] predefFractions2
static final float[] predefFractions3
static final float[] predefFractions4
static final float[] predefFractions5
static final float[] predefFractions6
static final float[] predefFractions7
static final float[] predefFractions8
static final float[] predefFractions9
static final float[] predefFractions10
static final float[][] predefFractions
static ShapePaint apply(org.graphstream.ui.graphicGraph.stylesheet.Style style)
static ShapePaint apply(org.graphstream.ui.graphicGraph.stylesheet.Style style, boolean forShadow)
static float[] createFractions(org.graphstream.ui.graphicGraph.stylesheet.Style style,
java.lang.Boolean forShadow)
style - The style to use.static float[] createFractions(org.graphstream.ui.graphicGraph.stylesheet.Style style,
int n)
static java.awt.Color[] createColors(org.graphstream.ui.graphicGraph.stylesheet.Style style,
boolean forShadow)
style - The style to use.static java.awt.Color[] createColors(org.graphstream.ui.graphicGraph.stylesheet.Style style,
int n,
org.graphstream.ui.graphicGraph.stylesheet.Colors theColors)
static java.awt.Color interpolateColor(org.graphstream.ui.graphicGraph.stylesheet.Colors colors,
double value)
default java.awt.Color interpolateColor(java.awt.Color[] colors,
double value)