Documentation

AbstractDraw extends AbstractEditObject
in package
implements DrawInterface

Draw 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

DrawInterface
Draw interface

Table of Contents

$fillColor  : Colorinterface
Fill color
$image  : mixed
Image object
$opacity  : mixed
Opacity
$strokeColor  : Colorinterface
Stroke color
$strokeWidth  : int
Stroke width
__construct()  : mixed
Constructor
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
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 $fillColor = null

$strokeColor

Stroke color

protected Colorinterface $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
Return values
mixed

getStrokeColor()

Get stroke color

public getStrokeColor() : Colorinterface
Return values
Colorinterface

getStrokeWidth()

Get stroke width

public getStrokeWidth() : int
Return values
int

Search results