Vectorize
class Vectorize extends EffectQualifier
Class Vectorize
Methods
numOfColors(int $numOfColors = null)
Limits the number of colors in the image.
detailsLevel(float $level)
Controls the level of detail.
despeckleLevel(float $size)
Suppresses speckles up to the given size.
paths(int $value)
Controls the Bezier curve optimization.
cornersLevel(int $threshold)
Controls the corner threshold. 100 for no smoothing (polygon corners), 0 for completely smooth corners.
__construct(int $colors = null, float $detail = null, float $despeckle = null, int $corners = null, int $paths = null)
Vectorize constructor.
Details
$this
numOfColors(int $numOfColors = null)
Limits the number of colors in the image.
$this
detailsLevel(float $level)
Controls the level of detail.
$this
despeckleLevel(float $size)
Suppresses speckles up to the given size.
$this
paths(int $value)
Controls the Bezier curve optimization.
$this
cornersLevel(int $threshold)
Controls the corner threshold. 100 for no smoothing (polygon corners), 0 for completely smooth corners.
__construct(int $colors = null, float $detail = null, float $despeckle = null, int $corners = null, int $paths = null)
Vectorize constructor.
Constants
VALUE_CLASS |
|