public class FormattingElement extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FormattingElement.Cap |
static class |
FormattingElement.Handedness |
static class |
FormattingElement.Stroke |
Constructor and Description |
---|
FormattingElement() |
FormattingElement(Float x1, Float y1, Float x2, Float y2) |
Modifier and Type | Method and Description |
---|---|
String |
getCap() |
com.itextpdf.text.BaseColor |
getColor() |
String |
getHandedness() |
String |
getPresence() |
String |
getStroke() |
Float |
getThickness() |
Float |
getX1() |
Float |
getX2() |
Float |
getY1() |
Float |
getY2() |
void |
setCap(String cap) |
void |
setColor(com.itextpdf.text.BaseColor color) |
void |
setHandedness(String handedness) |
void |
setPresence(String presence) |
void |
setRectanglePoints(Float x1, Float y1, Float x2, Float y2) |
void |
setStroke(String stroke) |
void |
setThickness(Float thickness) |
void |
setX1(Float x1) |
void |
setX2(Float x2) |
void |
setY1(Float y1) |
void |
setY2(Float y2) |
public FormattingElement(Float x1, Float y1, Float x2, Float y2)
x1
- for a line; startX for a rectangle; llx
y1
- for a line; startY for a rectangle; lly
x2
- for a line; endX for a rectangle; urx
y2
- for a line; endY for a rectangle; ury
public FormattingElement()
public String getHandedness()
public void setHandedness(String handedness)
handedness
- the handedness to set
public String getCap()
public void setCap(String cap)
cap
- the cap to set
public String getStroke()
public void setStroke(String stroke)
stroke
- the stroke to set
public String getPresence()
public void setPresence(String presence)
presence
- the presence to set
public Float getThickness()
public void setThickness(Float thickness)
thickness
- the thickness to set
public com.itextpdf.text.BaseColor getColor()
public void setColor(com.itextpdf.text.BaseColor color)
color
- the color to set
public Float getX1()
public void setX1(Float x1)
x1
- the x1 to set
public Float getY1()
public void setY1(Float y1)
y1
- the y1 to set
public Float getX2()
public void setX2(Float x2)
x2
- the x2 to set
public Float getY2()
public void setY2(Float y2)
y2
- the y2 to set
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.