| Constructor and Description |
|---|
Ellipse()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRoundRect(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
float cornerRadiusX,
float cornerRadiusY)
create points clockwise starting in upper left corner
|
draw, fillprotected void addRoundRect(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
Position upperLeft,
float width,
float height,
float cornerRadiusX,
float cornerRadiusY)
throws IOException
RoundRect
a b
----------
/ \
h | | c
| |
| |
g \ / d
----------
f e
addRoundRect in class RoundRectcontentStream - the content stream.upperLeft - the upper left pointwidth - the widthheight - the heightcornerRadiusX - the corner radius in x directioncornerRadiusY - the corner radius in y directionIOException - by pdfboxCopyright © 2021. All rights reserved.