Url
extends AbstractAnnotation
in package
Pdf page url annotation class
Tags
Table of Contents
- $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
- External URL to link to
- $vRadius : int
- Vertical border radius
- $width : int
- Annotation width
- __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
- 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
$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
Return values
mixed —getBorderWidth()
Get the border width
public
getBorderWidth() : int
Return values
int —getDashGap()
Get the border dash gap
public
getDashGap() : int
Return values
int —getDashLength()
Get the border dash length
public
getDashLength() : int
Return values
int —getHeight()
Get the height
public
getHeight() : int
Return values
int —getHRadius()
Get the horizontal border radius
public
getHRadius() : int
Return values
int —getStream()
Get the annotation stream
public
getStream(int $i, int $x, int $y) : string
Parameters
- $i : int
- $x : int
- $y : int
Return values
string —getUrl()
Get the URL link
public
getUrl() : string
Return values
string —getVRadius()
Get the vertical border radius
public
getVRadius() : int
Return values
int —getWidth()
Get the width
public
getWidth() : int
Return values
int —setBorderWidth()
Set the border width
public
setBorderWidth(int $width) : AbstractAnnotation
Parameters
- $width : int
Return values
AbstractAnnotation —setDashGap()
Set the border dash gap
public
setDashGap(int $gap) : AbstractAnnotation
Parameters
- $gap : int
Return values
AbstractAnnotation —setDashLength()
Set the border dash length
public
setDashLength(int $length) : AbstractAnnotation
Parameters
- $length : int
Return values
AbstractAnnotation —setHeight()
Set the height
public
setHeight(int $height) : AbstractAnnotation
Parameters
- $height : int
Return values
AbstractAnnotation —setHRadius()
Set the horizontal border radius
public
setHRadius(int $radius) : AbstractAnnotation
Parameters
- $radius : int
Return values
AbstractAnnotation —setUrl()
Set the URL
public
setUrl(string $url) : Url
Parameters
- $url : string
Return values
Url —setVRadius()
Set the vertical border radius
public
setVRadius(int $radius) : AbstractAnnotation
Parameters
- $radius : int
Return values
AbstractAnnotation —setWidth()
Set the width
public
setWidth(int $width) : AbstractAnnotation
Parameters
- $width : int