Imagick::writeImages
ImagickDraw::affine
ImageMagick
PHP Manual
The
ImagickDraw
class
Class synopsis
ImagickDraw
ImagickDraw
{
bool
ImagickDraw::affine
(
array
$affine
)
bool
ImagickDraw::annotation
(
float
$x
,
float
$y
,
string
$text
)
bool
ImagickDraw::arc
(
float
$sx
,
float
$sy
,
float
$ex
,
float
$ey
,
float
$sd
,
float
$ed
)
bool
ImagickDraw::bezier
(
array
$coordinates
)
bool
ImagickDraw::circle
(
float
$ox
,
float
$oy
,
float
$px
,
float
$py
)
bool
ImagickDraw::clear
(
void
)
ImagickDraw
ImagickDraw::clone
(
void
)
bool
ImagickDraw::color
(
float
$x
,
float
$y
,
int
$paintMethod
)
bool
ImagickDraw::comment
(
string
$comment
)
bool
ImagickDraw::composite
(
int
$compose
,
float
$x
,
float
$y
,
float
$width
,
float
$height
,
Imagick
$compositeWand
)
ImagickDraw
ImagickDraw::__construct
(
void
)
bool
ImagickDraw::destroy
(
void
)
bool
ImagickDraw::ellipse
(
float
$ox
,
float
$oy
,
float
$rx
,
float
$ry
,
float
$start
,
float
$end
)
string
ImagickDraw::getClipPath
(
void
)
int
ImagickDraw::getClipRule
(
void
)
int
ImagickDraw::getClipUnits
(
void
)
ImagickPixel
ImagickDraw::getFillColor
(
void
)
float
ImagickDraw::getFillOpacity
(
void
)
int
ImagickDraw::getFillRule
(
void
)
string
ImagickDraw::getFont
(
void
)
string
ImagickDraw::getFontFamily
(
void
)
float
ImagickDraw::getFontSize
(
void
)
int
ImagickDraw::getFontStyle
(
void
)
int
ImagickDraw::getFontWeight
(
void
)
int
ImagickDraw::getGravity
(
void
)
bool
ImagickDraw::getStrokeAntialias
(
void
)
ImagickPixel
ImagickDraw::getStrokeColor
(
ImagickPixel
$stroke_color
)
array
ImagickDraw::getStrokeDashArray
(
void
)
float
ImagickDraw::getStrokeDashOffset
(
void
)
int
ImagickDraw::getStrokeLineCap
(
void
)
int
ImagickDraw::getStrokeLineJoin
(
void
)
int
ImagickDraw::getStrokeMiterLimit
(
void
)
float
ImagickDraw::getStrokeOpacity
(
void
)
float
ImagickDraw::getStrokeWidth
(
void
)
int
ImagickDraw::getTextAlignment
(
void
)
bool
ImagickDraw::getTextAntialias
(
void
)
int
ImagickDraw::getTextDecoration
(
void
)
string
ImagickDraw::getTextEncoding
(
void
)
ImagickPixel
ImagickDraw::getTextUnderColor
(
void
)
string
ImagickDraw::getVectorGraphics
(
void
)
bool
ImagickDraw::line
(
float
$sx
,
float
$sy
,
float
$ex
,
float
$ey
)
bool
ImagickDraw::matte
(
float
$x
,
float
$y
,
int
$paintMethod
)
bool
ImagickDraw::pathClose
(
void
)
bool
ImagickDraw::pathCurveToAbsolute
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToQuadraticBezierAbsolute
(
float
$x1
,
float
$y1
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToQuadraticBezierRelative
(
float
$x1
,
float
$y1
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToQuadraticBezierSmoothRelative
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToRelative
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToSmoothAbsolute
(
float
$x2
,
float
$y2
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathCurveToSmoothRelative
(
float
$x2
,
float
$y2
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathEllipticArcAbsolute
(
float
$rx
,
float
$ry
,
float
$x_axis_rotation
,
bool
$large_arc_flag
,
bool
$sweep_flag
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathEllipticArcRelative
(
float
$rx
,
float
$ry
,
float
$x_axis_rotation
,
bool
$large_arc_flag
,
bool
$sweep_flag
,
float
$x
,
float
$y
)
bool
ImagickDraw::pathFinish
(
void
)
bool
ImagickDraw::pathLineToAbsolute
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathLineToHorizontalAbsolute
(
float
$x
)
bool
ImagickDraw::pathLineToHorizontalRelative
(
float
$x
)
bool
ImagickDraw::pathLineToRelative
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathLineToVerticalAbsolute
(
float
$y
)
bool
ImagickDraw::pathLineToVerticalRelative
(
float
$y
)
bool
ImagickDraw::pathMoveToAbsolute
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathMoveToRelative
(
float
$x
,
float
$y
)
bool
ImagickDraw::pathStart
(
void
)
bool
ImagickDraw::point
(
float
$x
,
float
$y
)
bool
ImagickDraw::polygon
(
array
$coordinates
)
bool
ImagickDraw::polyline
(
array
$coordinates
)
bool
ImagickDraw::pop
(
void
)
bool
ImagickDraw::popClipPath
(
void
)
bool
ImagickDraw::popDefs
(
void
)
bool
ImagickDraw::popPattern
(
void
)
bool
ImagickDraw::push
(
void
)
bool
ImagickDraw::pushClipPath
(
string
$clip_mask_id
)
bool
ImagickDraw::pushDefs
(
void
)
bool
ImagickDraw::pushPattern
(
string
$pattern_id
,
float
$x
,
float
$y
,
float
$width
,
float
$height
)
bool
ImagickDraw::rectangle
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
)
bool
ImagickDraw::render
(
void
)
bool
ImagickDraw::rotate
(
float
$degrees
)
bool
ImagickDraw::roundRectangle
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
,
float
$rx
,
float
$ry
)
bool
ImagickDraw::scale
(
float
$x
,
float
$y
)
bool
ImagickDraw::setClipPath
(
string
$clip_mask
)
bool
ImagickDraw::setClipRule
(
int
$fill_rule
)
bool
ImagickDraw::setClipUnits
(
int
$clip_units
)
bool
ImagickDraw::setFillAlpha
(
float
$opacity
)
bool
ImagickDraw::setFillColor
(
ImagickPixel
$fill_pixel
)
bool
ImagickDraw::setFillOpacity
(
float
$fillOpacity
)
bool
ImagickDraw::setFillPatternURL
(
string
$fill_url
)
bool
ImagickDraw::setFillRule
(
int
$fill_rule
)
bool
ImagickDraw::setFont
(
string
$font_name
)
bool
ImagickDraw::setFontFamily
(
string
$font_family
)
bool
ImagickDraw::setFontSize
(
float
$pointsize
)
bool
ImagickDraw::setFontStretch
(
int
$fontStretch
)
bool
ImagickDraw::setFontStyle
(
int
$style
)
bool
ImagickDraw::setFontWeight
(
int
$font_weight
)
bool
ImagickDraw::setGravity
(
int
$gravity
)
bool
ImagickDraw::setStrokeAlpha
(
float
$opacity
)
bool
ImagickDraw::setStrokeAntialias
(
bool
$stroke_antialias
)
bool
ImagickDraw::setStrokeColor
(
ImagickPixel
$stroke_pixel
)
bool
ImagickDraw::setStrokeDashArray
(
array
$dashArray
)
bool
ImagickDraw::setStrokeDashOffset
(
float
$dash_offset
)
bool
ImagickDraw::setStrokeLineCap
(
int
$linecap
)
bool
ImagickDraw::setStrokeLineJoin
(
int
$linejoin
)
bool
ImagickDraw::setStrokeMiterLimit
(
int
$miterlimit
)
bool
ImagickDraw::setStrokeOpacity
(
float
$stroke_opacity
)
bool
ImagickDraw::setStrokePatternURL
(
string
$stroke_url
)
bool
ImagickDraw::setStrokeWidth
(
float
$stroke_width
)
bool
ImagickDraw::setTextAlignment
(
int
$alignment
)
bool
ImagickDraw::setTextAntialias
(
bool
$antiAlias
)
bool
ImagickDraw::setTextDecoration
(
int
$decoration
)
bool
ImagickDraw::setTextEncoding
(
string
$encoding
)
bool
ImagickDraw::setTextUnderColor
(
ImagickPixel
$under_color
)
bool
ImagickDraw::setVectorGraphics
(
string
$xml
)
bool
ImagickDraw::setViewbox
(
int
$x1
,
int
$y1
,
int
$x2
,
int
$y2
)
bool
ImagickDraw::skewX
(
float
$degrees
)
bool
ImagickDraw::skewY
(
float
$degrees
)
bool
ImagickDraw::translate
(
float
$x
,
float
$y
)
}
Table of Contents
ImagickDraw::affine
— Adjusts the current affine transformation matrix
ImagickDraw::annotation
— Draws text on the image
ImagickDraw::arc
— Draws an arc
ImagickDraw::bezier
— Draws a bezier curve
ImagickDraw::circle
— Draws a circle
ImagickDraw::clear
— Clears the ImagickDraw
ImagickDraw::clone
— Makes an exact copy of the specified ImagickDraw object
ImagickDraw::color
— Draws color on image
ImagickDraw::comment
— Adds a comment
ImagickDraw::composite
— Composites an image onto the current image
ImagickDraw::__construct
— The ImagickDraw constructor
ImagickDraw::destroy
— Frees all associated resources
ImagickDraw::ellipse
— Draws an ellipse on the image
ImagickDraw::getClipPath
— Obtains the current clipping path ID
ImagickDraw::getClipRule
— Returns the current polygon fill rule
ImagickDraw::getClipUnits
— Returns the interpretation of clip path units
ImagickDraw::getFillColor
— Returns the fill color
ImagickDraw::getFillOpacity
— Returns the opacity used when drawing
ImagickDraw::getFillRule
— Returns the fill rule
ImagickDraw::getFont
— Returns the font
ImagickDraw::getFontFamily
— Returns the font family
ImagickDraw::getFontSize
— Returns the font pointsize
ImagickDraw::getFontStyle
— Returns the font style
ImagickDraw::getFontWeight
— Returns the font weight
ImagickDraw::getGravity
— Returns the text placement gravity
ImagickDraw::getStrokeAntialias
— Returns the current stroke antialias setting
ImagickDraw::getStrokeColor
— Returns the color used for stroking object outlines
ImagickDraw::getStrokeDashArray
— Returns an array representing the pattern of dashes and gaps used to stroke paths
ImagickDraw::getStrokeDashOffset
— Returns the offset into the dash pattern to start the dash
ImagickDraw::getStrokeLineCap
— Returns the shape to be used at the end of open subpaths when they are stroked
ImagickDraw::getStrokeLineJoin
— Returns the shape to be used at the corners of paths when they are stroked
ImagickDraw::getStrokeMiterLimit
— Returns the stroke miter limit
ImagickDraw::getStrokeOpacity
— Returns the opacity of stroked object outlines
ImagickDraw::getStrokeWidth
— Returns the width of the stroke used to draw object outlines
ImagickDraw::getTextAlignment
— Returns the text alignment
ImagickDraw::getTextAntialias
— Returns the current text antialias setting
ImagickDraw::getTextDecoration
— Returns the text decoration
ImagickDraw::getTextEncoding
— Returns the code set used for text annotations
ImagickDraw::getTextUnderColor
— Returns the text under color
ImagickDraw::getVectorGraphics
— Returns a string containing vector graphics
ImagickDraw::line
— Draws a line
ImagickDraw::matte
— Paints on the image's opacity channel
ImagickDraw::pathClose
— Adds a path element to the current path
ImagickDraw::pathCurveToAbsolute
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierAbsolute
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierRelative
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierSmoothRelative
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToRelative
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToSmoothAbsolute
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToSmoothRelative
— Draws a cubic Bezier curve
ImagickDraw::pathEllipticArcAbsolute
— Draws an elliptical arc
ImagickDraw::pathEllipticArcRelative
— Draws an elliptical arc
ImagickDraw::pathFinish
— Terminates the current path
ImagickDraw::pathLineToAbsolute
— Draws a line path
ImagickDraw::pathLineToHorizontalAbsolute
— Draws a horizontal line path
ImagickDraw::pathLineToHorizontalRelative
— Draws a horizontal line
ImagickDraw::pathLineToRelative
— Draws a line path
ImagickDraw::pathLineToVerticalAbsolute
— Draws a vertical line
ImagickDraw::pathLineToVerticalRelative
— Draws a vertical line path
ImagickDraw::pathMoveToAbsolute
— Starts a new sub-path
ImagickDraw::pathMoveToRelative
— Starts a new sub-path
ImagickDraw::pathStart
— Declares the start of a path drawing list
ImagickDraw::point
— Draws a point
ImagickDraw::polygon
— Draws a polygon
ImagickDraw::polyline
— Draws a polyline
ImagickDraw::pop
— Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
ImagickDraw::popClipPath
— Terminates a clip path definition
ImagickDraw::popDefs
— Terminates a definition list
ImagickDraw::popPattern
— Terminates a pattern definition
ImagickDraw::push
— Clones the current ImagickDraw and pushes it to the stack
ImagickDraw::pushClipPath
— Starts a clip path definition
ImagickDraw::pushDefs
— Indicates that following commands create named elements for early processing
ImagickDraw::pushPattern
— Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
ImagickDraw::rectangle
— Draws a rectangle
ImagickDraw::render
— Renders all preceding drawing commands onto the image
ImagickDraw::rotate
— Applies the specified rotation to the current coordinate space
ImagickDraw::roundRectangle
— Draws a rounted rectangle
ImagickDraw::scale
— Adjusts the scaling factor
ImagickDraw::setClipPath
— Associates a named clipping path with the image
ImagickDraw::setClipRule
— Set the polygon fill rule to be used by the clipping path
ImagickDraw::setClipUnits
— Sets the interpretation of clip path units
ImagickDraw::setFillAlpha
— Sets the opacity to use when drawing using the fill color or fill texture
ImagickDraw::setFillColor
— Sets the fill color to be used for drawing filled objects
ImagickDraw::setFillOpacity
— Sets the opacity to use when drawing using the fill color or fill texture
ImagickDraw::setFillPatternURL
— Sets the URL to use as a fill pattern for filling objects
ImagickDraw::setFillRule
— Sets the fill rule to use while drawing polygons
ImagickDraw::setFont
— Sets the fully-specified font to use when annotating with text
ImagickDraw::setFontFamily
— Sets the font family to use when annotating with text
ImagickDraw::setFontSize
— Sets the font pointsize to use when annotating with text
ImagickDraw::setFontStretch
— Sets the font stretch to use when annotating with text
ImagickDraw::setFontStyle
— Sets the font style to use when annotating with text
ImagickDraw::setFontWeight
— Sets the font weight
ImagickDraw::setGravity
— Sets the text placement gravity
ImagickDraw::setStrokeAlpha
— Specifies the opacity of stroked object outlines
ImagickDraw::setStrokeAntialias
— Controls whether stroked outlines are antialiased
ImagickDraw::setStrokeColor
— Sets the color used for stroking object outlines
ImagickDraw::setStrokeDashArray
— Specifies the pattern of dashes and gaps used to stroke paths
ImagickDraw::setStrokeDashOffset
— Specifies the offset into the dash pattern to start the dash
ImagickDraw::setStrokeLineCap
— Specifies the shape to be used at the end of open subpaths when they are stroked
ImagickDraw::setStrokeLineJoin
— Specifies the shape to be used at the corners of paths when they are stroked
ImagickDraw::setStrokeMiterLimit
— Specifies the miter limit
ImagickDraw::setStrokeOpacity
— Specifies the opacity of stroked object outlines
ImagickDraw::setStrokePatternURL
— Sets the pattern used for stroking object outlines
ImagickDraw::setStrokeWidth
— Sets the width of the stroke used to draw object outlines
ImagickDraw::setTextAlignment
— Specifies a text alignment
ImagickDraw::setTextAntialias
— Controls whether text is antialiased
ImagickDraw::setTextDecoration
— Specifies a decoration
ImagickDraw::setTextEncoding
— Specifies specifies the text code set
ImagickDraw::setTextUnderColor
— Specifies the color of a background rectangle
ImagickDraw::setVectorGraphics
— Sets the vector graphics
ImagickDraw::setViewbox
— Sets the overall canvas size
ImagickDraw::skewX
— Skews the current coordinate system in the horizontal direction
ImagickDraw::skewY
— Skews the current coordinate system in the vertical direction
ImagickDraw::translate
— Applies a translation to the current coordinate system
Imagick::writeImages
ImagickDraw::affine
ImageMagick
PHP Manual
7
Home
||
Web Directroy
||
Web Designing
||
Get a Domain Name
||
Host your web site
||
Free Blogs
||
Free Tutorial
||
Free E-cards
||
Free GuestBook
||
Email