Gmagick::writeimage
GmagickDraw::annotate
Gmagick
PHP Manual
GmagickDraw クラス
導入
Description of the class.
クラス概要
GmagickDraw
GmagickDraw
{
/* メソッド */
public
void
annotate
(
float
$x
,
float
$y
,
string
$text
)
public
void
arc
(
float
$sx
,
float
$sy
,
float
$ex
,
float
$ey
,
float
$sd
,
float
$ed
)
public
void
bezier
(
array
$coordinate_array
)
public
void
ellipse
(
float
$ox
,
float
$oy
,
float
$rx
,
float
$ry
,
float
$start
,
float
$end
)
public
void
getfillcolor
(
void
)
public
void
getfillopacity
(
void
)
public
void
getfont
(
void
)
public
void
getfontsize
(
void
)
public
void
getfontstyle
(
void
)
public
void
getfontweight
(
void
)
public
void
getstrokecolor
(
void
)
public
void
getstrokeopacity
(
void
)
public
void
getstrokewidth
(
void
)
public
void
gettextdecoration
(
void
)
public
void
gettextencoding
(
void
)
public
void
line
(
float
$sx
,
float
$sy
,
float
$ex
,
float
$ey
)
public
void
point
(
float
$x
,
float
$y
)
public
void
polygon
(
array
$coordinates
)
public
void
polyline
(
array
$coordinate_array
)
public
void
rectangle
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
)
public
void
rotate
(
float
$degrees
)
public
void
roundrectangle
(
float
$x1
,
float
$y1
,
float
$x2
,
float
$y2
,
float
$rx
,
float
$ry
)
public
void
scale
(
float
$x
,
float
$y
)
public
void
setfillcolor
(
string
$color
)
public
void
setfillopacity
(
float
$fill_opacity
)
public
void
setfont
(
string
$font
)
public
void
setfontsize
(
float
$pointsize
)
public
void
setfontstyle
(
string
$style
)
public
void
setfontweight
(
int
$weight
)
public
void
setstrokecolor
(
GmagickPixel
$color
)
public
void
setstrokeopacity
(
float
$stroke_opacity
)
public
void
setstrokewidth
(
float
$width
)
public
void
settextdecoration
(
int
$decoration
)
public
void
settextencoding
(
string
$encoding
)
}
目次
GmagickDraw::annotate
— Draws text on the image
GmagickDraw::arc
— Draws an arc
GmagickDraw::bezier
— Draws a bezier curve
GmagickDraw::ellipse
— Draws an ellipse on the image
GmagickDraw::getfillcolor
— Returns the fill color
GmagickDraw::getfillopacity
— Returns the opacity used when drawing
GmagickDraw::getfont
— Returns the font
GmagickDraw::getfontsize
— Returns the font pointsize
GmagickDraw::getfontstyle
— Returns the font style
GmagickDraw::getfontweight
— Returns the font weight
GmagickDraw::getstrokecolor
— Returns the color used for stroking object outlines
GmagickDraw::getstrokeopacity
— Returns the opacity of stroked object outlines
GmagickDraw::getstrokewidth
— Returns the width of the stroke used to draw object outlines
GmagickDraw::gettextdecoration
— Returns the text decoration
GmagickDraw::gettextencoding
— Returns the code set used for text annotations
GmagickDraw::line
— The line purpose
GmagickDraw::point
— Draws a point
GmagickDraw::polygon
— Draws a polygon
GmagickDraw::polyline
— Draws a polyline
GmagickDraw::rectangle
— Draws a rectangle
GmagickDraw::rotate
— Applies the specified rotation to the current coordinate space
GmagickDraw::roundrectangle
— Draws a rounded rectangle
GmagickDraw::scale
— Adjusts the scaling factor
GmagickDraw::setfillcolor
— Sets the fill color to be used for drawing filled objects.
GmagickDraw::setfillopacity
— The setfillopacity purpose
GmagickDraw::setfont
— Sets the fully-specified font to use when annotating with text.
GmagickDraw::setfontsize
— Sets the font pointsize to use when annotating with text.
GmagickDraw::setfontstyle
— Sets the font style to use when annotating with text
GmagickDraw::setfontweight
— Sets the font weight
GmagickDraw::setstrokecolor
— Sets the color used for stroking object outlines.
GmagickDraw::setstrokeopacity
— Specifies the opacity of stroked object outlines.
GmagickDraw::setstrokewidth
— Sets the width of the stroke used to draw object outlines.
GmagickDraw::settextdecoration
— Specifies a decoration
GmagickDraw::settextencoding
— Specifies specifies the text code set
Gmagick::writeimage
GmagickDraw::annotate
Gmagick
PHP Manual