public class ArcDrawer extends AbstractDrawer
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
attributes |
protected boolean |
circular |
protected FormattingElement |
fe |
protected Boolean |
fill |
protected com.itextpdf.text.BaseColor |
fillColor |
protected float |
startAngle |
protected float |
sweepAngle |
accessibleAttributes, id, role
Modifier and Type | Method and Description |
---|---|
void |
draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle borderArea) |
void |
initArcRectangle(XFARectangle arcArea) |
boolean |
isEmpty() |
protected void |
setLineDash(com.itextpdf.text.pdf.PdfContentByte canvas, FormattingElement fe) |
getAccessibleAttribute, getAccessibleAttributes, getId, getRole, isInline, setAccessibleAttribute, setId, setRole
protected Boolean fill
protected com.itextpdf.text.BaseColor fillColor
protected FormattingElement fe
protected float startAngle
protected float sweepAngle
protected boolean circular
public ArcDrawer(FormNode arc)
arc
- Arc tag
public void draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle borderArea)
draw
in class AbstractDrawer
protected void setLineDash(com.itextpdf.text.pdf.PdfContentByte canvas, FormattingElement fe)
public void initArcRectangle(XFARectangle arcArea)
public boolean isEmpty()
isEmpty
in class AbstractDrawer
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.