Constructor and Description |
---|
SLGradientPaint(SLLocator locat,
DblMatrix coords1,
java.awt.Color col1,
DblMatrix coords2,
java.awt.Color col2)
Creates a 2-color linear gradient between the two given data coordinates.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Paint |
getPaint()
Returns a GradientPaint object after converting the data coordinates to the screen pixel
dimensions.
|
Copyright © 2011, 2013. Daniel P. Dougherty