Package com.kitfox.svg
Class FilterEffects
- java.lang.Object
-
- com.kitfox.svg.SVGElement
-
- com.kitfox.svg.FilterEffects
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FeLight
public class FilterEffects extends SVGElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
filterPrimitiveRefIn
private int
filterPrimitiveTypeIn
static int
FP_BACKGROUND_ALPHA
static int
FP_BACKGROUND_IMAGE
static int
FP_CUSTOM
static int
FP_FILL_PAINT
static int
FP_SOURCE_ALPHA
static int
FP_SOURCE_GRAPHIC
static int
FP_STROKE_PAINT
(package private) float
height
(package private) java.net.URL
href
(package private) java.lang.String
result
static java.lang.String
TAG_NAME
(package private) float
width
(package private) float
x
(package private) float
y
-
Fields inherited from class com.kitfox.svg.SVGElement
children, contexts, cssClass, diagram, dirty, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase
-
-
Constructor Summary
Constructors Constructor Description FilterEffects()
Creates a new instance of FillElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
build()
Called by internal processes to rebuild the geometry of this node from it's presentation attributes, style attributes and animated tracks.float
getHeight()
java.lang.String
getTagName()
float
getWidth()
float
getX()
float
getY()
void
loaderAddChild(SVGLoaderHelper helper, SVGElement child)
Called after the start element but before the end element to indicate each child tag that has been processedboolean
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.-
Methods inherited from class com.kitfox.svg.SVGElement
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, setParent, swapChildren
-
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
FP_SOURCE_GRAPHIC
public static final int FP_SOURCE_GRAPHIC
- See Also:
- Constant Field Values
-
FP_SOURCE_ALPHA
public static final int FP_SOURCE_ALPHA
- See Also:
- Constant Field Values
-
FP_BACKGROUND_IMAGE
public static final int FP_BACKGROUND_IMAGE
- See Also:
- Constant Field Values
-
FP_BACKGROUND_ALPHA
public static final int FP_BACKGROUND_ALPHA
- See Also:
- Constant Field Values
-
FP_FILL_PAINT
public static final int FP_FILL_PAINT
- See Also:
- Constant Field Values
-
FP_STROKE_PAINT
public static final int FP_STROKE_PAINT
- See Also:
- Constant Field Values
-
FP_CUSTOM
public static final int FP_CUSTOM
- See Also:
- Constant Field Values
-
filterPrimitiveTypeIn
private int filterPrimitiveTypeIn
-
filterPrimitiveRefIn
private java.lang.String filterPrimitiveRefIn
-
x
float x
-
y
float y
-
width
float width
-
height
float height
-
result
java.lang.String result
-
href
java.net.URL href
-
-
Method Detail
-
getTagName
public java.lang.String getTagName()
- Specified by:
getTagName
in classSVGElement
-
loaderAddChild
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
Called after the start element but before the end element to indicate each child tag that has been processed- Overrides:
loaderAddChild
in classSVGElement
- Throws:
SVGElementException
-
build
protected void build() throws SVGException
Description copied from class:SVGElement
Called by internal processes to rebuild the geometry of this node from it's presentation attributes, style attributes and animated tracks.- Overrides:
build
in classSVGElement
- Throws:
SVGException
-
getX
public float getX()
-
getY
public float getY()
-
getWidth
public float getWidth()
-
getHeight
public float getHeight()
-
updateTime
public boolean updateTime(double curTime) throws SVGException
Description copied from class:SVGElement
Updates all attributes in this diagram associated with a time event. Ie, all attributes with track information.- Specified by:
updateTime
in classSVGElement
- Returns:
- - true if this node has changed state as a result of the time update
- Throws:
SVGException
-
-