ImageWrapper
final class ImageWrapper (View source)
Methods
GdImage
getImage()
No description
static self|null
create(int $width, int $height, array|null $background = null)
No description
static self|null
fromString(string $data)
No description
bool
arc(int $centerX, int $centerY, int $width, int $height, int $startAngle, int $endAngle, int $color)
No description
int|false
colorAllocate(int $red, int $green, int $blue)
No description
bool
copyResampled(ImageWrapper $sourceImage, int $destinationX, int $destinationY, int $sourceX, int $sourceY, int $destinationWidth, int $destinationHeight, int $sourceWidth, int $sourceHeight)
No description
bool
filledPolygon(array $points, int $color)
No description
int
height()
No description
bool
jpeg(resource|string|null $file = null, int $quality = -1)
No description
bool
line(int $x1, int $y1, int $x2, int $y2, int $color)
No description
bool
png(resource|string|null $file = null, int $quality = -1, int $filters = -1)
No description
bool
string(int $font, int $x, int $y, string $string, int $color)
No description
int
width()
No description
Details
GdImage
getImage()
No description
static self|null
create(int $width, int $height, array|null $background = null)
No description
static self|null
fromString(string $data)
No description
bool
arc(int $centerX, int $centerY, int $width, int $height, int $startAngle, int $endAngle, int $color)
No description
int|false
colorAllocate(int $red, int $green, int $blue)
No description
bool
copyResampled(ImageWrapper $sourceImage, int $destinationX, int $destinationY, int $sourceX, int $sourceY, int $destinationWidth, int $destinationHeight, int $sourceWidth, int $sourceHeight)
No description
bool
filledPolygon(array $points, int $color)
No description
int
height()
No description
bool
jpeg(resource|string|null $file = null, int $quality = -1)
No description
bool
line(int $x1, int $y1, int $x2, int $y2, int $color)
No description
bool
png(resource|string|null $file = null, int $quality = -1, int $filters = -1)
No description
bool
string(int $font, int $x, int $y, string $string, int $color)
No description
int
width()
No description