public class StopSvgNodeRenderer extends NoDrawOperationSvgNodeRenderer implements INoDrawSvgNodeRenderer
ISvgNodeRenderer
implementation for the gradient VIEWBOX_VALUES_NUMBER
attributesAndStyles
Constructor and Description |
---|
StopSvgNodeRenderer() |
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
protected void |
doDraw(SvgDrawContext context)
Method that will set properties to be inherited by this branch renderer's children and will iterate over all children in order to draw them.
|
double |
getOffset()
Evaluates the stop color offset value.
|
float[] |
getStopColor()
Evaluates the rgba array of the specified stop color.
|
float |
getStopOpacity()
Evaluates the stop opacity of the specified stop color.
|
addChild, deepCopyChildren, getChildren
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getObjectBoundingBox, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, getChildren
draw, getAttribute, getAttributeMapCopy, getParent, setAttribute, setAttributesAndStyles, setParent
public double getOffset()
public float[] getStopColor()
public float getStopOpacity()
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderer
createDeepCopy
in interface ISvgNodeRenderer
createDeepCopy
in class NoDrawOperationSvgNodeRenderer
protected void doDraw(SvgDrawContext context)
AbstractBranchSvgNodeRenderer
doDraw
in class NoDrawOperationSvgNodeRenderer
context
- the object that knows the place to draw this element and maintains its state
Copyright © 1998–2021 iText Group NV. All rights reserved.