Top Fields Constructors Methods
com.sun.prism.paint

public final Class LinearGradient

extends Gradient
Class Inheritance
Imports
com.sun.javafx.geom.transform.BaseTransform, java.util.List

Field Summary

Modifier and TypeField and Description
private float
private float
private float
private float
Inherited from com.sun.prism.paint.Gradient:
PADREFLECTREPEAT

Constructor Summary

AccessConstructor and Description
public
LinearGradient(float x1, float y1, float x2, float y2, BaseTransform gradientTransform, boolean proportional, int spreadMethod, List<Stop> stops)

Method Summary

Modifier and TypeMethod and Description
public float
public float
public float
public float
Inherited from com.sun.prism.paint.Gradient:
getGradientOffsetgetGradientTransformNoClonegetNumStopsgetSpreadMethodgetStopsisOpaquesetGradientOffset

Field Detail

x1back to summary
private float x1
x2back to summary
private float x2
y1back to summary
private float y1
y2back to summary
private float y2

Constructor Detail

LinearGradientback to summary
public LinearGradient(float x1, float y1, float x2, float y2, BaseTransform gradientTransform, boolean proportional, int spreadMethod, List<Stop> stops)

Method Detail

getX1back to summary
public float getX1()
getX2back to summary
public float getX2()
getY1back to summary
public float getY1()
getY2back to summary
public float getY2()