# IDrawing

interface IDrawing

## Methods

resize(int $width, int $height, boolean $useContainer = false, string $backgroundColor = null, int $quality = 80)

Image Resizing

watermark(string $filepath, int $position, int $percent = 30, float $opacity = 1.0, int $padding)

Image Watermarking

save(string $newFilepath)

Image Saving

destroy()

Image Destroying

## Details

###
at line 20
`resize(int $width, int $height, boolean $useContainer = false, string $backgroundColor = null, int $quality = 80)`

Image Resizing

#### Parameters

int | $width |
int | $height |
boolean | $useContainer |
string | $backgroundColor |
int | $quality |

###
at line 31
`watermark(string $filepath, int $position, int $percent = 30, float $opacity = 1.0, int $padding)`

Image Watermarking

#### Parameters

string | $filepath |
int | $position |
int | $percent |
float | $opacity |
int | $padding |

###
at line 38
`save(string $newFilepath)`

Image Saving

#### Parameters

string | $newFilepath |

###
at line 43
`destroy()`

Image Destroying