Documentation

AbstractDraw extends AbstractEditObject
in package
implements DrawInterface

AbstractYes

Draw abstract class

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

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

version
5.0.0

Table of Contents

Interfaces

DrawInterface
Draw interface

Properties

$fillColor  : ColorInterface|null
Fill color
$image  : mixed
Image object
$opacity  : int|float|null
Opacity
$strokeColor  : ColorInterface|null
Stroke color
$strokeWidth  : int
Stroke width

Methods

__construct()  : mixed
Constructor
getFillColor()  : ColorInterface
Get fill color
getImage()  : AbstractAdapter|null
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
setFillColor()  : AbstractDraw
Set fill color
setImage()  : AbstractEditObject
Set the image object
setOpacity()  : AbstractDraw
Set the opacity
setStrokeColor()  : AbstractDraw
Set stroke color
setStrokeWidth()  : AbstractDraw
Get stroke width

Properties

$opacity

Opacity

protected int|float|null $opacity = null

$strokeWidth

Stroke width

protected int $strokeWidth = 0

Methods

getOpacity()

Get the opacity

public getOpacity() : mixed

getStrokeWidth()

Get stroke width

public getStrokeWidth() : int
Return values
int

        
On this page

Search results