Package com.evopdf

Class LinkUrlElement

java.lang.Object
com.evopdf.PageElement
com.evopdf.LinkUrlElement

public class LinkUrlElement extends PageElement
This class represents a link to an URL in a PDF document
  • Constructor Details

    • LinkUrlElement

      public LinkUrlElement(RectangleFloat linkRectangle, String linkURL)
      Constructs a URL link element
      Parameters:
      linkRectangle - the link rectangle in page
      linkURL - the link destination URL
  • Method Details

    • linkRectangle

      public RectangleFloat linkRectangle()
      Gets the URL link element rectangle in PDF page
      Returns:
      the URL link element rectangle in PDF page
    • setLinkRectangle

      public void setLinkRectangle(RectangleFloat linkRectangle)
      Sets the URL link element rectangle in PDF page
      Parameters:
      linkRectangle - the URL link element rectangle in PDF page
    • linkURL

      public String linkURL()
      Gets the link destination URL
      Returns:
      the link destination URL
    • setLinkURL

      public void setLinkURL(String linkURL)
      Sets the link destination URL
      Parameters:
      linkURL - the link destination URL