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 Summary

  Constructors
  Constructor
  Description
  `LinkUrlElement(RectangleFloat linkRectangle, String linkURL)`
  Constructs a URL link element

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RectangleFloat`
  `linkRectangle()`
  Gets the URL link element rectangle in PDF page
  `String`
  `linkURL()`
  Gets the link destination URL
  `void`
  `setLinkRectangle(RectangleFloat linkRectangle)`
  Sets the URL link element rectangle in PDF page
  `void`
  `setLinkURL(String linkURL)`
  Sets the link destination URL

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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