Documentation

AbstractType extends AbstractEditObject
in package
implements TypeInterface

AbstractYes

Type abstract class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Interfaces

TypeInterface
Type interface

Properties

$fillColor  : ColorInterface|null
Fill color
$font  : string|null
Type font
$image  : mixed
Image object
$opacity  : int|float|null
Opacity
$rotation  : int
Type rotation in degrees
$size  : int
Type font size
$strokeColor  : ColorInterface|null
Stroke color
$strokeWidth  : int
Stroke width
$x  : int
Type X-position
$y  : int
Type Y-position

Methods

__construct()  : mixed
Constructor
font()  : AbstractType
Set the font
getFillColor()  : ColorInterface
Get fill color
getImage()  : AbstractAdapter|null
Get the image object
getOpacity()  : int|float|null
Get the opacity
getStrokeColor()  : ColorInterface
Get stroke color
getStrokeWidth()  : int
Get stroke width
hasImage()  : bool
Has the image object
rotate()  : AbstractType
Set the rotation of the text
setFillColor()  : AbstractType
Set fill color
setImage()  : AbstractEditObject
Set the image object
setOpacity()  : AbstractType
Set the opacity
setStrokeColor()  : AbstractType
Set stroke color
setStrokeWidth()  : AbstractType
Set stroke width
size()  : AbstractType
Set the font size
x()  : AbstractType
Set the X-position
xy()  : AbstractType
Set both the X- and Y-positions
y()  : AbstractType
Set the Y-position

Properties

$opacity

Opacity

protected int|float|null $opacity = null

$rotation

Type rotation in degrees

protected int $rotation = 0

$strokeWidth

Stroke width

protected int $strokeWidth = 1

Methods

getOpacity()

Get the opacity

public getOpacity() : int|float|null
Return values
int|float|null

getStrokeWidth()

Get stroke width

public getStrokeWidth() : int
Return values
int

        
On this page

Search results