首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

GmagickDraw (class)

Introduction

(PECL gmagick >= Unknown)

Class synopsis

GmagickDraw {

/* Methods */

代码语言:javascript
复制
public GmagickDraw annotate ( float $x , float $y , string $text )
代码语言:javascript
复制
public GmagickDraw arc ( float $sx , float $sy , float $ex , float $ey , float $sd , float $ed )
代码语言:javascript
复制
public GmagickDraw bezier ( array $coordinate_array )
代码语言:javascript
复制
public GmagickDraw ellipse ( float $ox , float $oy , float $rx , float $ry , float $start , float $end )
代码语言:javascript
复制
public GmagickPixel getfillcolor ( void )
代码语言:javascript
复制
public float getfillopacity ( void )
代码语言:javascript
复制
public mixed getfont ( void )
代码语言:javascript
复制
public float getfontsize ( void )
代码语言:javascript
复制
public int getfontstyle ( void )
代码语言:javascript
复制
public int getfontweight ( void )
代码语言:javascript
复制
public GmagickPixel getstrokecolor ( void )
代码语言:javascript
复制
public float getstrokeopacity ( void )
代码语言:javascript
复制
public float getstrokewidth ( void )
代码语言:javascript
复制
public int gettextdecoration ( void )
代码语言:javascript
复制
public mixed gettextencoding ( void )
代码语言:javascript
复制
public GmagickDraw line ( float $sx , float $sy , float $ex , float $ey )
代码语言:javascript
复制
public GmagickDraw point ( float $x , float $y )
代码语言:javascript
复制
public GmagickDraw polygon ( array $coordinates )
代码语言:javascript
复制
public GmagickDraw polyline ( array $coordinate_array )
代码语言:javascript
复制
public GmagickDraw rectangle ( float $x1 , float $y1 , float $x2 , float $y2 )
代码语言:javascript
复制
public GmagickDraw rotate ( float $degrees )
代码语言:javascript
复制
public GmagickDraw roundrectangle ( float $x1 , float $y1 , float $x2 , float $y2 , float $rx , float $ry )
代码语言:javascript
复制
public GmagickDraw scale ( float $x , float $y )
代码语言:javascript
复制
public GmagickDraw setfillcolor ( mixed $color )
代码语言:javascript
复制
public GmagickDraw setfillopacity ( float $fill_opacity )
代码语言:javascript
复制
public GmagickDraw setfont ( string $font )
代码语言:javascript
复制
public GmagickDraw setfontsize ( float $pointsize )
代码语言:javascript
复制
public GmagickDraw setfontstyle ( int $style )
代码语言:javascript
复制
public GmagickDraw setfontweight ( int $weight )
代码语言:javascript
复制
public GmagickDraw setstrokecolor ( mixed $color )
代码语言:javascript
复制
public GmagickDraw setstrokeopacity ( float $stroke_opacity )
代码语言:javascript
复制
public GmagickDraw setstrokewidth ( float $width )
代码语言:javascript
复制
public GmagickDraw settextdecoration ( int $decoration )
代码语言:javascript
复制
public GmagickDraw settextencoding ( string $encoding )

}

Table of Contents

  • 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 the text code set

← Gmagick::writeimage

GmagickDraw::annotate →

代码语言:txt
复制
 © 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

扫码关注腾讯云开发者

领取腾讯云代金券