Documentation

AbstractType extends AbstractEditObject
in package
implements TypeInterface

Type abstract class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
3.4.0

Interfaces, Classes, Traits and Enums

TypeInterface
Type interface

Table of Contents

$fillColor  : ColorInterface
Fill color
$font  : string
Type font
$image  : mixed
Image object
$opacity  : mixed
Opacity
$rotation  : int
Type rotation in degrees
$size  : int
Type font size
$strokeColor  : ColorInterface
Stroke color
$strokeWidth  : int
Stroke width
$x  : int
Type X-position
$y  : int
Type Y-position
__construct()  : mixed
Constructor
font()  : AbstractType
Set the font
getFillColor()  : ColorInterface
Get fill color
getImage()  : AbstractAdapter
Get the image object
getOpacity()  : mixed
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

$rotation

Type rotation in degrees

protected int $rotation = 0

$strokeWidth

Stroke width

protected int $strokeWidth = 1

Methods

getOpacity()

Get the opacity

public getOpacity() : mixed
Return values
mixed

getStrokeWidth()

Get stroke width

public getStrokeWidth() : int
Return values
int

Search results