TPaint - the type of the paint need
Created by Xyanid on 06.11.2015.
public abstract class SVGGradientBase<TPaint extends javafx.scene.paint.Paint> extends SVGElementBase<TPaint>
| Constructor and Description |
|---|
SVGGradientBase(String name,
Attributes attributes,
SVGElementBase<SVGDataProvider> parent,
SVGDataProvider dataProvider)
Creates a new instance of he element using the given attributes, parent and dataProvider.
|
| Modifier and Type | Method and Description |
|---|---|
List<javafx.scene.paint.Stop>
|
getStops()
Gets the stops related to this gradient.
|
protected void |
initializeResult(TPaint paint)
This method will be called in the
SVGElementBase.createResult()
and allows to modify the result such as applying a style or transformations.
|
createResult, createResultInternal, endProcessing, getCssStyle, getResult, getTransformation, processCharacterData, startProcessinggetAttribute, getAttributes, getChildren, getDataProvider, getName, getParentpublic SVGGradientBase(String name, Attributes attributes, SVGElementBase<SVGDataProvider> parent, SVGDataProvider dataProvider) throws IllegalArgumentException
name - value of the elementattributes - attributes of the elementparent - parent of the elementdataProvider - dataprovider to be usedIllegalArgumentException
- if either value or dataProvider are null
public final List<javafx.scene.paint.Stop> getStops()
protected final void initializeResult(TPaint paint) throws SVGException
SVGElementBaseSVGElementBase.createResult() and allows to modify the result such
as applying a style or transformations.
initializeResult in class SVGElementBase<TPaint extends javafx.scene.paint.Paint>
paint - the result which should be modified.SVGException - will be thrown when an error
during modification
Copyright © 2015 Saxonia Systems AG. All rights reserved.