@groovy.transform.CompileStatic class PngDiagramRender extends java.lang.Object implements taack.ui.diagram.render.IDiagramRender
Type | Name and description |
---|---|
java.awt.image.BufferedImage |
bi |
java.awt.Font |
currentFont |
java.awt.Graphics2D |
ig2 |
Constructor and description |
---|
PngDiagramRender
(BigDecimal width, BigDecimal height) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
fillStyle(GanttEntry.Color color) |
|
BigDecimal |
getDiagramHeight() |
|
BigDecimal |
getDiagramWidth() |
|
void |
lineWidth(BigDecimal width) |
|
BigDecimal |
measureText(java.lang.String text) |
|
void |
renderArrow(BigDecimal[] coords) |
|
void |
renderCircle(BigDecimal radius, DiagramStyle diagramStyle) |
|
void |
renderHorizontalLine() |
|
void |
renderHorizontalStrip(BigDecimal height) |
|
void |
renderLabel(java.lang.String label) |
|
void |
renderLine(BigDecimal toX, BigDecimal toY) |
|
void |
renderPoly(BigDecimal[] coords) |
|
void |
renderRect(BigDecimal width, BigDecimal height, DiagramStyle diagramStyle) |
|
void |
renderRotatedLabel(java.lang.String label, BigDecimal rotateAngle, BigDecimal rotatePointX, BigDecimal rotatePointY) |
|
void |
renderSector(BigDecimal r, BigDecimal angle1, BigDecimal angle2, DiagramStyle diagramStyle) |
|
void |
renderSmallLabel(java.lang.String label) |
|
void |
renderTriangle(BigDecimal length, boolean isDown) |
|
void |
renderVerticalLine() |
|
void |
renderVerticalStrip(BigDecimal width) |
|
void |
strokeStyle(taack.ui.base.common.Style style) |
|
void |
translateTo(BigDecimal x, BigDecimal y) |
|
void |
writeImage(java.io.OutputStream os) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation