Url
extends AbstractAnnotation
in package
Pdf page url annotation class
Tags
Table of Contents
Properties
- $borderWidth : int
- Border width
- $dashGap : int
- Border dash gap
- $dashLength : int
- Border dash length
- $height : int
- Annotation height
- $hRadius : int
- Horizontal border radius
- $url : string|null
- External URL to link to
- $vRadius : int
- Vertical border radius
- $width : int
- Annotation width
Methods
- __construct() : mixed
- Constructor
- getBorderWidth() : int
- Get the border width
- getDashGap() : int
- Get the border dash gap
- getDashLength() : int
- Get the border dash length
- getHeight() : int
- Get the height
- getHRadius() : int
- Get the horizontal border radius
- getStream() : string
- Get the annotation stream
- getUrl() : string|null
- Get the URL link
- getVRadius() : int
- Get the vertical border radius
- getWidth() : int
- Get the width
- setBorderWidth() : AbstractAnnotation
- Set the border width
- setDashGap() : AbstractAnnotation
- Set the border dash gap
- setDashLength() : AbstractAnnotation
- Set the border dash length
- setHeight() : AbstractAnnotation
- Set the height
- setHRadius() : AbstractAnnotation
- Set the horizontal border radius
- setUrl() : Url
- Set the URL
- setVRadius() : AbstractAnnotation
- Set the vertical border radius
- setWidth() : AbstractAnnotation
- Set the width
Properties
$borderWidth
Border width
protected
int
$borderWidth
= 0
$dashGap
Border dash gap
protected
int
$dashGap
= 0
$dashLength
Border dash length
protected
int
$dashLength
= 0
$height
Annotation height
protected
int
$height
= 0
$hRadius
Horizontal border radius
protected
int
$hRadius
= 0
$url
External URL to link to
protected
string|null
$url
= null
$vRadius
Vertical border radius
protected
int
$vRadius
= 0
$width
Annotation width
protected
int
$width
= 0
Methods
__construct()
Constructor
public
__construct(int $width, int $height, string $url) : mixed
Instantiate a PDF URL annotation object.
Parameters
- $width : int
- $height : int
- $url : string
getBorderWidth()
Get the border width
public
getBorderWidth() : int
Return values
intgetDashGap()
Get the border dash gap
public
getDashGap() : int
Return values
intgetDashLength()
Get the border dash length
public
getDashLength() : int
Return values
intgetHeight()
Get the height
public
getHeight() : int
Return values
intgetHRadius()
Get the horizontal border radius
public
getHRadius() : int
Return values
intgetStream()
Get the annotation stream
public
getStream(int $i, int $x, int $y) : string
Parameters
- $i : int
- $x : int
- $y : int
Return values
stringgetUrl()
Get the URL link
public
getUrl() : string|null
Return values
string|nullgetVRadius()
Get the vertical border radius
public
getVRadius() : int
Return values
intgetWidth()
Get the width
public
getWidth() : int
Return values
intsetBorderWidth()
Set the border width
public
setBorderWidth(int $width) : AbstractAnnotation
Parameters
- $width : int
Return values
AbstractAnnotationsetDashGap()
Set the border dash gap
public
setDashGap(int $gap) : AbstractAnnotation
Parameters
- $gap : int
Return values
AbstractAnnotationsetDashLength()
Set the border dash length
public
setDashLength(int $length) : AbstractAnnotation
Parameters
- $length : int
Return values
AbstractAnnotationsetHeight()
Set the height
public
setHeight(int $height) : AbstractAnnotation
Parameters
- $height : int
Return values
AbstractAnnotationsetHRadius()
Set the horizontal border radius
public
setHRadius(int $radius) : AbstractAnnotation
Parameters
- $radius : int
Return values
AbstractAnnotationsetUrl()
Set the URL
public
setUrl(string $url) : Url
Parameters
- $url : string
Return values
UrlsetVRadius()
Set the vertical border radius
public
setVRadius(int $radius) : AbstractAnnotation
Parameters
- $radius : int
Return values
AbstractAnnotationsetWidth()
Set the width
public
setWidth(int $width) : AbstractAnnotation
Parameters
- $width : int