public function annotate($text, $coordX, $coordY, $size = null, $angle = 0)
    {
        if (! ($this->resource instanceof ImageWritableInterface)) {
            throw new UnsupportedMethodException("This method is not supported by the ImageResource in use.");
        }

        $drawer = $this->getDrawer();

        if ($size) {
            $drawer->setFontSize($size);
        }
        $this->resource->annotate($text, $coordX, $coordY, $angle, $drawer);

        return $this;
    }