class SvgGradient extends SvgElement
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
boundingBox |
(package private) float[] |
bounds |
(package private) static int |
CX |
(package private) static int |
CY |
(package private) float[] |
data |
(package private) static int |
FX |
(package private) static int |
FY |
(package private) org.eclipse.swt.graphics.GC |
gc |
(package private) java.lang.String |
linkId |
(package private) static int |
PAD |
(package private) org.eclipse.swt.graphics.Pattern |
pattern |
(package private) static int |
R |
(package private) static int |
REFLECT |
(package private) static int |
REPEAT |
(package private) int |
spreadMethod |
(package private) java.util.List<SvgGradientStop> |
stops |
(package private) SvgTransform |
transform |
(package private) static int |
X1 |
(package private) static int |
X2 |
(package private) static int |
Y1 |
(package private) static int |
Y2 |
Constructor and Description |
---|
SvgGradient(SvgContainer container,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
apply(boolean foreground) |
void |
create(SvgShape shape,
org.eclipse.swt.graphics.GC gc) |
void |
dispose() |
SvgGradientStop[] |
getStops() |
SvgTransform |
getTransform() |
(package private) void |
setLinkId(java.lang.String id) |
(package private) void |
setSpreadMethod(java.lang.String s) |
(package private) void |
setTransform(SvgTransform transform) |
(package private) void |
setUnits(java.lang.String s) |
getAncestry, getContainer, getElement, getFragment, getId, getViewport, setContainer
static final int X1
static final int Y1
static final int X2
static final int Y2
static final int CX
static final int CY
static final int FX
static final int FY
static final int R
static final int PAD
static final int REFLECT
static final int REPEAT
float[] data
java.lang.String linkId
java.util.List<SvgGradientStop> stops
org.eclipse.swt.graphics.GC gc
float[] bounds
org.eclipse.swt.graphics.Pattern pattern
boolean boundingBox
int spreadMethod
SvgTransform transform
SvgGradient(SvgContainer container, java.lang.String id)
public void apply(boolean foreground)
public void create(SvgShape shape, org.eclipse.swt.graphics.GC gc)
public void dispose()
public SvgGradientStop[] getStops()
public SvgTransform getTransform()
void setLinkId(java.lang.String id)
void setSpreadMethod(java.lang.String s)
void setTransform(SvgTransform transform)
void setUnits(java.lang.String s)