public function applyToQuad(Quad $quad)
    {
        if ($this->imageUrl) {
            $quad->setImageUrl($this->imageUrl);
        } else if ($this->style) {
            $quad->setStyles($this->style, $this->subStyle);
        }
        return $this;
    }