AbstractAnnotation
in package
implements
AnnotationInterface
AbstractYes
Pdf abstract page annotation class
Tags
Table of Contents
Interfaces
- AnnotationInterface
- Pdf page annotation interface
Properties
- $borderWidth : int
- Border width
- $dashGap : int
- Border dash gap
- $dashLength : int
- Border dash length
- $height : int
- Annotation height
- $hRadius : int
- Horizontal border radius
- $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
- 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
- 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
$vRadius
Vertical border radius
protected
int
$vRadius
= 0
$width
Annotation width
protected
int
$width
= 0
Methods
__construct()
Constructor
public
__construct(int $width, int $height) : mixed
Instantiate a PDF annotation object.
Parameters
- $width : int
- $height : int
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
intgetVRadius()
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
AbstractAnnotationsetVRadius()
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