La clase ImagickDraw

(PECL imagick 2, PECL imagick 3)

Sinopsis de la Clase

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