No cache version.


Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

The ImagickDraw class

(PECL imagick 2.0.0)

Class synopsis

ImagickDraw {
affine ( array $affine ) : bool
annotation ( float $x , float $y , string $text ) : bool
arc ( float $sx , float $sy , float $ex , float $ey , float $sd , float $ed ) : bool
bezier ( array $coordinates ) : bool
circle ( float $ox , float $oy , float $px , float $py ) : bool
clear ( void ) : bool
clone ( void ) : ImagickDraw
color ( float $x , float $y , int $paintMethod ) : bool
comment ( string $comment ) : bool
composite ( int $compose , float $x , float $y , float $width , float $height , Imagick $compositeWand ) : bool
__construct ( void )
destroy ( void ) : bool
ellipse ( float $ox , float $oy , float $rx , float $ry , float $start , float $end ) : bool
getClipPath ( void ) : string
getClipRule ( void ) : int
getClipUnits ( void ) : int
getFillOpacity ( void ) : float
getFillRule ( void ) : int
getFont ( void ) : string
getFontFamily ( void ) : string
getFontSize ( void ) : float
public getFontStretch ( void ) : int
getFontStyle ( void ) : int
getFontWeight ( void ) : int
getGravity ( void ) : int
getStrokeAntialias ( void ) : bool
getStrokeDashArray ( void ) : array
getStrokeDashOffset ( void ) : float
getStrokeLineCap ( void ) : int
getStrokeLineJoin ( void ) : int
getStrokeMiterLimit ( void ) : int
getStrokeOpacity ( void ) : float
getStrokeWidth ( void ) : float
getTextAlignment ( void ) : int
getTextAntialias ( void ) : bool
getTextDecoration ( void ) : int
getTextEncoding ( void ) : string
public getTextInterlineSpacing ( void ) : float
public getTextInterwordSpacing ( void ) : float
public getTextKerning ( void ) : float
getVectorGraphics ( void ) : string
line ( float $sx , float $sy , float $ex , float $ey ) : bool
matte ( float $x , float $y , int $paintMethod ) : bool
pathClose ( void ) : bool
pathCurveToAbsolute ( float $x1 , float $y1 , float $x2 , float $y2 , float $x , float $y ) : bool
pathCurveToQuadraticBezierAbsolute ( float $x1 , float $y1 , float $x , float $y ) : bool
pathCurveToQuadraticBezierRelative ( float $x1 , float $y1 , float $x , float $y ) : bool
pathCurveToQuadraticBezierSmoothAbsolute ( float $x , float $y ) : bool
pathCurveToQuadraticBezierSmoothRelative ( float $x , float $y ) : bool
pathCurveToRelative ( float $x1 , float $y1 , float $x2 , float $y2 , float $x , float $y ) : bool
pathCurveToSmoothAbsolute ( float $x2 , float $y2 , float $x , float $y ) : bool
pathCurveToSmoothRelative ( float $x2 , float $y2 , float $x , float $y ) : bool
pathEllipticArcAbsolute ( float $rx , float $ry , float $x_axis_rotation , bool $large_arc_flag , bool $sweep_flag , float $x , float $y ) : bool
pathEllipticArcRelative ( float $rx , float $ry , float $x_axis_rotation , bool $large_arc_flag , bool $sweep_flag , float $x , float $y ) : bool
pathFinish ( void ) : bool
pathLineToAbsolute ( float $x , float $y ) : bool
pathLineToHorizontalAbsolute ( float $x ) : bool
pathLineToHorizontalRelative ( float $x ) : bool
pathLineToRelative ( float $x , float $y ) : bool
pathLineToVerticalAbsolute ( float $y ) : bool
pathLineToVerticalRelative ( float $y ) : bool
pathMoveToAbsolute ( float $x , float $y ) : bool
pathMoveToRelative ( float $x , float $y ) : bool
pathStart ( void ) : bool
point ( float $x , float $y ) : bool
polygon ( array $coordinates ) : bool
polyline ( array $coordinates ) : bool
pop ( void ) : bool
popClipPath ( void ) : bool
popDefs ( void ) : bool
popPattern ( void ) : bool
push ( void ) : bool
pushClipPath ( string $clip_mask_id ) : bool
pushDefs ( void ) : bool
pushPattern ( string $pattern_id , float $x , float $y , float $width , float $height ) : bool
rectangle ( float $x1 , float $y1 , float $x2 , float $y2 ) : bool
render ( void ) : bool
public resetVectorGraphics ( void ) : bool
rotate ( float $degrees ) : bool
roundRectangle ( float $x1 , float $y1 , float $x2 , float $y2 , float $rx , float $ry ) : bool
scale ( float $x , float $y ) : bool
setClipPath ( string $clip_mask ) : bool
setClipRule ( int $fill_rule ) : bool
setClipUnits ( int $clip_units ) : bool
setFillAlpha ( float $opacity ) : bool
setFillColor ( ImagickPixel $fill_pixel ) : bool
setFillOpacity ( float $fillOpacity ) : bool
setFillPatternURL ( string $fill_url ) : bool
setFillRule ( int $fill_rule ) : bool
setFont ( string $font_name ) : bool
setFontFamily ( string $font_family ) : bool
setFontSize ( float $pointsize ) : bool
setFontStretch ( int $fontStretch ) : bool
setFontStyle ( int $style ) : bool
setFontWeight ( int $font_weight ) : bool
setGravity ( int $gravity ) : bool
public setResolution ( float $x_resolution , float $y_resolution ) : bool
setStrokeAlpha ( float $opacity ) : bool
setStrokeAntialias ( bool $stroke_antialias ) : bool
setStrokeColor ( ImagickPixel $stroke_pixel ) : bool
setStrokeDashArray ( array $dashArray ) : bool
setStrokeDashOffset ( float $dash_offset ) : bool
setStrokeLineCap ( int $linecap ) : bool
setStrokeLineJoin ( int $linejoin ) : bool
setStrokeMiterLimit ( int $miterlimit ) : bool
setStrokeOpacity ( float $stroke_opacity ) : bool
setStrokePatternURL ( string $stroke_url ) : bool
setStrokeWidth ( float $stroke_width ) : bool
setTextAlignment ( int $alignment ) : bool
setTextAntialias ( bool $antiAlias ) : bool
setTextDecoration ( int $decoration ) : bool
setTextEncoding ( string $encoding ) : bool
public setTextInterlineSpacing ( float $spacing ) : bool
public setTextInterwordSpacing ( float $spacing ) : bool
public setTextKerning ( float $kerning ) : bool
setTextUnderColor ( ImagickPixel $under_color ) : bool
setVectorGraphics ( string $xml ) : bool
setViewbox ( int $x1 , int $y1 , int $x2 , int $y2 ) : bool
skewX ( float $degrees ) : bool
skewY ( float $degrees ) : bool
translate ( float $x , float $y ) : bool
}

Table of Contents

Find a PHP function

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-class.imagickdraw.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : http://php.net

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut