PHP 7.4.24 Released!

La clase ImagickDraw

(PECL imagick 2, PECL imagick 3)

Sinopsis de la Clase

class ImagickDraw {
public affine(array $affine): bool
annotation(float $x, float $y, string $text): bool
public arc(
    float $sx,
    float $sy,
    float $ex,
    float $ey,
    float $sd,
    float $ed
): bool
public bezier(array $coordinates): bool
public circle(
    float $ox,
    float $oy,
    float $px,
    float $py
): bool
public clear(): bool
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
public __construct()
public destroy(): bool
public ellipse(
    float $ox,
    float $oy,
    float $rx,
    float $ry,
    float $start,
    float $end
): bool
getClipPath(): string
public getClipRule(): int
public getClipUnits(): int
public getFillRule(): int
getFont(): string
getFontFamily(): string
public getFontSize(): float
public getFontStretch(): int
public getFontWeight(): int
getGravity(): int
public getStrokeAntialias(): bool
public getTextAntialias(): bool
getTextEncoding(): string
public getTextInterlineSpacing(): float
public getTextInterwordSpacing(): float
public getTextKerning(): float
public getVectorGraphics(): string
public line(
    float $sx,
    float $sy,
    float $ex,
    float $ey
): bool
matte(float $x, float $y, int $paintMethod): bool
pathClose(): bool
pathCurveToAbsolute(
    float $x1,
    float $y1,
    float $x2,
    float $y2,
    float $x,
    float $y
): bool
public pathCurveToQuadraticBezierAbsolute(
    float $x1,
    float $y1,
    float $x,
    float $y
): bool
pathCurveToQuadraticBezierRelative(
    float $x1,
    float $y1,
    float $x,
    float $y
): bool
public pathCurveToQuadraticBezierSmoothAbsolute(float $x, float $y): bool
public 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
public pathEllipticArcAbsolute(
    float $rx,
    float $ry,
    float $x_axis_rotation,
    bool $large_arc_flag,
    bool $sweep_flag,
    float $x,
    float $y
): bool
public pathEllipticArcRelative(
    float $rx,
    float $ry,
    float $x_axis_rotation,
    bool $large_arc_flag,
    bool $sweep_flag,
    float $x,
    float $y
): bool
pathFinish(): bool
pathLineToAbsolute(float $x, float $y): bool
pathLineToRelative(float $x, float $y): bool
pathMoveToAbsolute(float $x, float $y): bool
pathMoveToRelative(float $x, float $y): bool
public pathStart(): bool
public point(float $x, float $y): bool
public polygon(array $coordinates): bool
public polyline(array $coordinates): bool
public pop(): bool
popClipPath(): bool
public popDefs(): bool
popPattern(): bool
public push(): bool
public pushClipPath(string $clip_mask_id): bool
public pushDefs(): bool
public pushPattern(
    string $pattern_id,
    float $x,
    float $y,
    float $width,
    float $height
): bool
public rectangle(
    float $x1,
    float $y1,
    float $x2,
    float $y2
): bool
render(): bool
public resetVectorGraphics(): bool
public rotate(float $degrees): bool
public roundRectangle(
    float $x1,
    float $y1,
    float $x2,
    float $y2,
    float $rx,
    float $ry
): bool
public scale(float $x, float $y): bool
public setClipPath(string $clip_mask): bool
setClipRule(int $fill_rule): bool
public setClipUnits(int $clip_units): bool
public setFillAlpha(float $opacity): bool
setFillColor(ImagickPixel $fill_pixel): bool
setFillOpacity(float $fillOpacity): bool
setFillPatternURL(string $fill_url): bool
setFillRule(int $fill_rule): bool
public setFont(string $font_name): bool
public setFontFamily(string $font_family): bool
public setFontSize(float $pointsize): bool
setFontStretch(int $fontStretch): bool
setFontStyle(int $style): bool
public setFontWeight(int $font_weight): bool
setGravity(int $gravity): bool
public setResolution(float $x_resolution, float $y_resolution): bool
public setStrokeAlpha(float $opacity): bool
public setStrokeAntialias(bool $stroke_antialias): bool
public setStrokeColor(ImagickPixel $stroke_pixel): bool
public setStrokeDashArray(array $dashArray): bool
public setStrokeDashOffset(float $dash_offset): bool
setStrokeLineCap(int $linecap): bool
setStrokeLineJoin(int $linejoin): bool
public setStrokeMiterLimit(int $miterlimit): bool
public setStrokeOpacity(float $stroke_opacity): bool
public setStrokePatternURL(string $stroke_url): bool
public setStrokeWidth(float $stroke_width): bool
setTextAlignment(int $alignment): bool
public 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
public setTextUnderColor(ImagickPixel $under_color): bool
public setVectorGraphics(string $xml): bool
public setViewbox(
    int $x1,
    int $y1,
    int $x2,
    int $y2
): bool
public skewX(float $degrees): bool
public skewY(float $degrees): bool
public translate(float $x, float $y): bool
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top