public interface IMarkerCapable
Modifier and Type | Method and Description |
---|---|
void |
drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType)
Draws a marker in the specified context.
|
double |
getAutoOrientAngle(MarkerSvgNodeRenderer marker, boolean reverse)
Calculates marker orientation angle if orient attribute is set to auto
|
void drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType)
context
- the object that knows the place to draw this element and maintains its state
markerVertexType
- type of marker that determine on which vertices of the given element marker should be drawn
double getAutoOrientAngle(MarkerSvgNodeRenderer marker, boolean reverse)
orient
attribute is set to auto
marker
- marker for which the rotation angle should be calculated
reverse
- indicates that the resulting angle should be rotated 180 degrees
Copyright © 1998–2021 iText Group NV. All rights reserved.