public class SimplisticSoftBorderPainter extends StandardBorderPainter
| Constructor and Description |
|---|
SimplisticSoftBorderPainter() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getBottomBorderColor(SubstanceColorScheme interpolationScheme1,
SubstanceColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
Computes the color of the bottom portion of the border.
|
java.lang.String |
getDisplayName()
Returns the display name of
this trait. |
java.awt.Color |
getMidBorderColor(SubstanceColorScheme interpolationScheme1,
SubstanceColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
Computes the color of the middle portion of the border.
|
java.awt.Color |
getTopBorderColor(SubstanceColorScheme interpolationScheme1,
SubstanceColorScheme interpolationScheme2,
double cycleCoef,
boolean useCyclePosAsInterpolation)
Computes the color of the top portion of the border.
|
isPaintingInnerContour, paintBorderpublic java.lang.String getDisplayName()
SubstanceTraitthis trait. This method is part
of officially supported API.getDisplayName in interface SubstanceTraitgetDisplayName in class StandardBorderPainterthis trait.public java.awt.Color getTopBorderColor(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPaintergetTopBorderColor in class StandardBorderPainterinterpolationScheme1 - The first interpolation scheme.interpolationScheme2 - The second interpolation scheme.cycleCoef - Cycle coefficient.useCyclePosAsInterpolation - Indicates whether the cycle coefficient should be used as the
interpolation parameter.public java.awt.Color getMidBorderColor(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPaintergetMidBorderColor in class StandardBorderPainterinterpolationScheme1 - The first interpolation scheme.interpolationScheme2 - The second interpolation scheme.cycleCoef - Cycle coefficient.useCyclePosAsInterpolation - Indicates whether the cycle coefficient should be used as the
interpolation parameter.public java.awt.Color getBottomBorderColor(SubstanceColorScheme interpolationScheme1, SubstanceColorScheme interpolationScheme2, double cycleCoef, boolean useCyclePosAsInterpolation)
StandardBorderPaintergetBottomBorderColor in class StandardBorderPainterinterpolationScheme1 - The first interpolation scheme.interpolationScheme2 - The second interpolation scheme.cycleCoef - Cycle coefficient.useCyclePosAsInterpolation - Indicates whether the cycle coefficient should be used as the
interpolation parameter.