public abstract class PdfMarkElement<T extends PdfMarkElement<T>>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected PdfMarkElementType |
elementType |
protected double |
opacity |
protected PadesVisualRectangle |
relativeContainer |
protected int |
rotation |
| Constructor and Description |
|---|
PdfMarkElement(PdfMarkElementType type) |
PdfMarkElement(PdfMarkElementType type,
PadesVisualRectangle relativeContainer) |
| Modifier and Type | Method and Description |
|---|---|
PdfMarkElementType |
getElementType() |
double |
getOpacity() |
PadesVisualRectangle |
getRelativeContainer() |
int |
getRotation() |
T |
onContainer(PadesVisualRectangle relativeContainer) |
T |
rotate180() |
T |
rotate90Clockwise() |
T |
rotate90Counterclockwise() |
void |
setElementType(PdfMarkElementType elementType) |
void |
setOpacity(double opacity) |
void |
setRelativeContainer(PadesVisualRectangle relativeContainer) |
void |
setRotation(int rotation) |
com.lacunasoftware.restpki.PdfMarkElementModel |
toModel() |
T |
withOpacity(double opacity) |
T |
withRotation(int rotation) |
protected PdfMarkElementType elementType
protected PadesVisualRectangle relativeContainer
protected int rotation
protected double opacity
public PdfMarkElement(PdfMarkElementType type)
public PdfMarkElement(PdfMarkElementType type, PadesVisualRectangle relativeContainer)
public com.lacunasoftware.restpki.PdfMarkElementModel toModel()
public T onContainer(PadesVisualRectangle relativeContainer)
public T withRotation(int rotation)
public T rotate90Clockwise()
public T rotate90Counterclockwise()
public T rotate180()
public T withOpacity(double opacity)
public PdfMarkElementType getElementType()
public void setElementType(PdfMarkElementType elementType)
public PadesVisualRectangle getRelativeContainer()
public void setRelativeContainer(PadesVisualRectangle relativeContainer)
public int getRotation()
public void setRotation(int rotation)
public double getOpacity()
public void setOpacity(double opacity)