The ImagickDraw class

(PECL imagick 2.0.0)

类摘要

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

关注编程学问公众号