Package net.sf.jasperreports.engine.util
Class JRPenUtil
java.lang.Object
net.sf.jasperreports.engine.util.JRPenUtil
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetLineWidth(JRCommonGraphicElement element, int reportDpi) Returns the line width of a graphic element, applying the default that its type implies: images have no line unless one is set explicitly on them, while lines, rectangles and ellipses fall back to a one pixel line, scaled to the resolution of the report.static floatgetLineWidthOrDefault(JRPen pen, int reportDpi) static Strokestatic Strokestatic booleanhasOwnValues(JRPen pen) static voidsetLinePenFromPen(PenEnum pen, JRPen linePen)
-
Method Details
-
setLinePenFromPen
-
getLineWidth
Returns the line width of a graphic element, applying the default that its type implies: images have no line unless one is set explicitly on them, while lines, rectangles and ellipses fall back to a one pixel line, scaled to the resolution of the report. -
getLineWidthOrDefault
-
getStroke
-
getStroke
-
hasOwnValues
-