(PECL imagick 2, PECL imagick 3)
public affine(array $affine): bool
public annotation(float $x, float $y, string $text): bool
public arc( float $start_x, float $start_y, float $end_x, float $end_y, float $start_angle, float $end_angle ): bool
public bezier(array $coordinates): bool
public circle( float $origin_x, float $origin_y, float $perimeter_x, float $perimeter_y ): bool
public clear(): bool
public clone(): ImagickDraw
public color(float $x, float $y, int $paint): bool
public comment(string $comment): bool
public composite( int $composite, float $x, float $y, float $width, float $height, Imagick $image ): bool
public destroy(): bool
public ellipse( float $origin_x, float $origin_y, float $radius_x, float $radius_y, float $angle_start, float $angle_end ): bool
public getClipPath(): false|string
public getClipRule(): int
public getClipUnits(): int
public getFillColor(): ImagickPixel
public getFillOpacity(): float
public getFillRule(): int
public getFont(): string
public getFontFamily(): string
public getFontSize(): float
public getFontStretch(): int
public getFontStyle(): int
public getFontWeight(): int
public getGravity(): int
public getStrokeAntialias(): bool
public getStrokeColor(): ImagickPixel
public getStrokeDashArray(): array
public getStrokeDashOffset(): float
public getStrokeLineCap(): int
public getStrokeLineJoin(): int
public getStrokeMiterLimit(): int
public getStrokeOpacity(): float
public getStrokeWidth(): float
public getTextAlignment(): int
public getTextAntialias(): bool
public getTextDecoration(): int
public getTextEncoding(): false|string
public getTextInterlineSpacing(): float
public getTextInterwordSpacing(): float
public getTextKerning(): float
public getTextUnderColor(): ImagickPixel
public getVectorGraphics(): string
public line( float $start_x, float $start_y, float $end_x, float $end_y ): bool
public matte(float $x, float $y, int $paint): bool
public pathClose(): bool
public pathCurveToAbsolute( float $x1, float $y1, float $x2, float $y2, float $x, float $y ): bool
public pathCurveToQuadraticBezierAbsolute( float $x1, float $y1, float $x_end, float $y ): bool
public pathCurveToQuadraticBezierRelative( float $x1, float $y1, float $x_end, float $y ): bool
public pathCurveToQuadraticBezierSmoothAbsolute(float $x, float $y): bool
public pathCurveToQuadraticBezierSmoothRelative(float $x, float $y): bool
public pathCurveToRelative( float $x1, float $y1, float $x2, float $y2, float $x, float $y ): bool
public pathCurveToSmoothAbsolute( float $x2, float $y2, float $x, float $y ): bool
public pathCurveToSmoothRelative( float $x2, float $y2, float $x, float $y ): bool
public pathEllipticArcAbsolute( float $rx, float $ry, float $x_axis_rotation, bool $large_arc, bool $sweep, float $x, float $y ): bool
public pathEllipticArcRelative( float $rx, float $ry, float $x_axis_rotation, bool $large_arc, bool $sweep, float $x, float $y ): bool
public pathFinish(): bool
public pathLineToAbsolute(float $x, float $y): bool
public pathLineToHorizontalAbsolute(float $x): bool
public pathLineToHorizontalRelative(float $x): bool
public pathLineToRelative(float $x, float $y): bool
public pathLineToVerticalAbsolute(float $y): bool
public pathLineToVerticalRelative(float $y): bool
public pathMoveToAbsolute(float $x, float $y): bool
public pathMoveToRelative(float $x, float $y): bool
public pathStart(): bool
public point(float $x, float $y): bool
public polygon(array $coordinates): bool
public polyline(array $coordinates): bool
public pop(): bool
public popClipPath(): bool
public popDefs(): bool
public popPattern(): bool
public push(): bool
public pushClipPath(string $clip_mask_id): bool
public pushDefs(): bool
public pushPattern( string $pattern_id, float $x, float $y, float $width, float $height ): bool
public rectangle( float $top_left_x, float $top_left_y, float $bottom_right_x, float $bottom_right_y ): bool
public render(): bool
public resetVectorGraphics(): bool
public rotate(float $degrees): bool
public roundRectangle( float $top_left_x, float $top_left_y, float $bottom_right_x, float $bottom_right_y, float $rounding_x, float $rounding_y ): bool
public scale(float $x, float $y): bool
public setClipPath(string $clip_mask): bool
public setClipRule(int $fillrule): bool
public setClipUnits(int $pathunits): bool
public setFillAlpha(float $alpha): bool
public setFillColor(ImagickPixel|string $fill_color): bool
public setFillOpacity(float $opacity): bool
public setFillPatternURL(string $fill_url): bool
public setFillRule(int $fillrule): bool
public setFont(string $font_name): bool
public setFontFamily(string $font_family): bool
public setFontSize(float $point_size): bool
public setFontStretch(int $stretch): bool
public setFontStyle(int $style): bool
public setFontWeight(int $weight): bool
public setGravity(int $gravity): bool
public setResolution(float $resolution_x, float $resolution_y): bool
public setStrokeAlpha(float $alpha): bool
public setStrokeAntialias(bool $enabled): bool
public setStrokeColor(ImagickPixel|string $color): bool
public setStrokeDashArray(?array $dashes): bool
public setStrokeDashOffset(float $dash_offset): bool
public setStrokeLineCap(int $linecap): bool
public setStrokeLineJoin(int $linejoin): bool
public setStrokeMiterLimit(int $miterlimit): bool
public setStrokeOpacity(float $opacity): bool
public setStrokePatternURL(string $stroke_url): bool
public setStrokeWidth(float $width): bool
public setTextAlignment(int $align): bool
public setTextAntialias(bool $antialias): bool
public setTextDecoration(int $decoration): bool
public setTextEncoding(string $encoding): bool
public setTextInterlineSpacing(float $spacing): bool
public setTextInterwordSpacing(float $spacing): bool
public setTextKerning(float $kerning): bool
public setTextUnderColor(ImagickPixel|string $under_color): bool
public setVectorGraphics(string $xml): bool
public setViewbox( int $left_x, int $top_y, int $right_x, int $bottom_y ): bool
public skewX(float $degrees): bool
public skewY(float $degrees): bool
public translate(float $x, float $y): bool}
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.imagickdraw.php