Top Fields Constructors Methods
com.sun.javafx.webkit.prism

pack-priv final Class WCRadialGradient

extends WCGradient<RadialGradient>
Class Inheritance
Imports
com.sun.prism.paint.Color, .RadialGradient, .Stop, com.sun.webkit.graphics.WCGradient, .WCPoint, com.sun.javafx.geom.transform.BaseTransform, java.util.ArrayList, .Collections, .Comparator, .List

Field Summary

Modifier and TypeField and Description
pack-priv static final Comparator<Stop>
private final WCPoint
private final WCPoint
private final float
private final float
private final float
private final boolean
private final List<Stop>
Inherited from com.sun.webkit.graphics.WCGradient:
PADREFLECTREPEAT

Constructor Summary

AccessConstructor and Description
pack-priv
WCRadialGradient(WCPoint p1, float r1, WCPoint p2, float r2)

Method Summary

Modifier and TypeMethod and Description
protected void
addStop(Color color, float offset)

Implements abstract com.sun.webkit.graphics.WCGradient.addStop.

public RadialGradient
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv static String
toString(WCGradient<G> g, WCPoint p1, WCPoint p2, Float radius, List<Stop> stops)

Inherited from com.sun.webkit.graphics.WCGradient:
getSpreadMethodisProportional

Field Detail

COMPARATORback to summary
pack-priv static final Comparator<Stop> COMPARATOR
p1back to summary
private final WCPoint p1
p2back to summary
private final WCPoint p2
r1back to summary
private final float r1
r1overback to summary
private final float r1over
r2back to summary
private final float r2
reverseback to summary
private final boolean reverse
stopsback to summary
private final List<Stop> stops

Constructor Detail

WCRadialGradientback to summary
pack-priv WCRadialGradient(WCPoint p1, float r1, WCPoint p2, float r2)

Method Detail

addStopback to summary
protected void addStop(Color color, float offset)

Implements abstract com.sun.webkit.graphics.WCGradient.addStop.

Annotations
@Override
getPlatformGradientback to summary
public RadialGradient getPlatformGradient()

Implements abstract com.sun.webkit.graphics.WCGradient.getPlatformGradient.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
toStringback to summary
pack-priv static String toString(WCGradient<G> g, WCPoint p1, WCPoint p2, Float radius, List<Stop> stops)