Documentation

AbstractDraw extends AbstractEditObject
in package
implements DrawInterface

AbstractYes

Draw 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

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

$fillColor

Fill color

protected Colorinterface|null $fillColor = null

$opacity

Opacity

protected int|float|null $opacity = null

$strokeColor

Stroke color

protected Colorinterface|null $strokeColor = null

$strokeWidth

Stroke width

protected int $strokeWidth = 0

Methods

getFillColor()

Get fill color

public getFillColor() : Colorinterface
Return values
Colorinterface

getOpacity()

Get the opacity

public getOpacity() : mixed

getStrokeColor()

Get stroke color

public getStrokeColor() : Colorinterface
Return values
Colorinterface

getStrokeWidth()

Get stroke width

public getStrokeWidth() : int
Return values
int

        
On this page

Search results