@OpenApiAll public abstract class PathRenderer extends PresentationElementRenderer
PathElement
.PresentationElementRenderer
,
ShapeRenderer
Constructor and Description |
---|
PathRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawPathAdornment(java.awt.Graphics g,
PathElement pathElement)
Draws the path adornment.
|
protected int |
getClientEndPreferredSize(PathElement pathElement)
The path client end preferred size.
|
protected PathEndRenderer |
getClientEndRenderer(PathElement pathElement)
Provides the path client end renderer.
|
int |
getLineWidth(PresentationElement presentationElement)
Returns path line width.
|
protected java.awt.BasicStroke |
getPathStroke(PathElement pathElement)
Stroke used to draw path.
|
protected int |
getSupplierEndPreferredSize(PathElement pathElement)
The path supplier end preferred size.
|
protected PathEndRenderer |
getSupplierEndRenderer(PathElement pathElement)
Provides the path supplier end renderer.
|
protected void |
updateText(PresentationElement presentationElement)
Update path text.
|
afterUpdate, beforeUpdate, getCenterlinePoint, getColor, getFontProvider, getText, propertiesChanged
protected int getClientEndPreferredSize(PathElement pathElement)
pathElement
- path element.protected int getSupplierEndPreferredSize(PathElement pathElement)
pathElement
- path element.protected PathEndRenderer getClientEndRenderer(PathElement pathElement)
pathElement
- path element.PathEndRenderer
protected PathEndRenderer getSupplierEndRenderer(PathElement pathElement)
pathElement
- path element.PathEndRenderer
protected java.awt.BasicStroke getPathStroke(PathElement pathElement)
pathElement
- drawing path.PresentationElement.getStroke(int)
,
PresentationElement.getStroke(int, int)
,
PresentationElement.getStroke(java.awt.BasicStroke, int)
,
PresentationElement.getStroke(int, int, int)
,
PresentationElement.getStroke(float, int, int, float, float[], float)
public int getLineWidth(PresentationElement presentationElement)
presentationElement
- drawing path.@OpenApi protected void drawPathAdornment(java.awt.Graphics g, PathElement pathElement)
g
- graphics where path is drawn.pathElement
- path to draw adornment for.protected final void updateText(PresentationElement presentationElement)
updateText
in class PresentationElementRenderer
presentationElement
-