The ImagickDraw class

Class synopsis

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