Tabnine Logo
PdfCell.getRight
Code IndexAdd Tabnine to your IDE (free)

How to use
getRight
method
in
com.lowagie.text.pdf.PdfCell

Best Java code snippets using com.lowagie.text.pdf.PdfCell.getRight (Showing top 3 results out of 315)

origin: fr.opensagres.xdocreport.itext-gae/itext-gae

/**
 * Gets a Rectangle that is altered to fit on the page.
 *
 * @param    top        the top position
 * @param    bottom    the bottom position
 * @return    a <CODE>Rectangle</CODE>
 */
public Rectangle rectangle(float top, float bottom) {
  Rectangle tmp = new Rectangle(getLeft(), getBottom(), getRight(), getTop());
  tmp.cloneNonPositionParameters(this);
  if (getTop() > top) {
    tmp.setTop(top);
    tmp.setBorder(border - (border & TOP));
  }
  if (getBottom() < bottom) {
    tmp.setBottom(bottom);
    tmp.setBorder(border - (border & BOTTOM));
  }
  return tmp;
}
origin: com.github.librepdf/openpdf

/**
 * Gets a Rectangle that is altered to fit on the page.
 *
 * @param    top        the top position
 * @param    bottom    the bottom position
 * @return    a <CODE>Rectangle</CODE>
 */
public Rectangle rectangle(float top, float bottom) {
  Rectangle tmp = new Rectangle(getLeft(), getBottom(), getRight(), getTop());
  tmp.cloneNonPositionParameters(this);
  if (getTop() > top) {
    tmp.setTop(top);
    tmp.setBorder(border - (border & TOP));
  }
  if (getBottom() < bottom) {
    tmp.setBottom(bottom);
    tmp.setBorder(border - (border & BOTTOM));
  }
  return tmp;
}
origin: es.gob.afirma/afirma-crypto-pdf-itext

/**
 * Gets a Rectangle that is altered to fit on the page.
 *
 * @param    top        the top position
 * @param    bottom    the bottom position
 * @return    a <CODE>Rectangle</CODE>
 */
public Rectangle rectangle(float top, float bottom) {
  Rectangle tmp = new Rectangle(getLeft(), getBottom(), getRight(), getTop());
  tmp.cloneNonPositionParameters(this);
  if (getTop() > top) {
    tmp.setTop(top);
    tmp.setBorder(border - (border & TOP));
  }
  if (getBottom() < bottom) {
    tmp.setBottom(bottom);
    tmp.setBorder(border - (border & BOTTOM));
  }
  return tmp;
}
com.lowagie.text.pdfPdfCellgetRight

Javadoc

Returns the upper right x-coordinate.

Popular methods of PdfCell

  • <init>
    Constructs a PdfCell-object.
  • addImage
    Adds an image to this Cell.
  • addLine
  • addList
  • cellpadding
    Gets the cellpadding of a cell..
  • cellspacing
    Gets the cellspacing of a cell.
  • cloneNonPositionParameters
  • firstLineRealHeight
    Calculates what the height of the first line should be so that the content will be flush with the to
  • flushCurrentLine
  • getBorderWidthBottom
  • getBorderWidthInside
    Gets the amount of the border for the specified side that is inside the Rectangle. For non-variable
  • getBorderWidthLeft
  • getBorderWidthInside,
  • getBorderWidthLeft,
  • getBorderWidthRight,
  • getBorderWidthTop,
  • getBottom,
  • getHeight,
  • getImages,
  • getLeft,
  • getLines

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now