FML/Components/CheckBoxDesign.php
public function applyToQuad(Quad $quad)
    {
        if ($this->imageUrl) {
            $quad->setImageUrl($this->imageUrl);
        } else if ($this->style) {
            $quad->setStyles($this->style, $this->subStyle);
        }
        return $this;
    }
public function applyToQuad(Quad $quad)
    {
        if ($this->imageUrl) {
            $quad->setImageUrl($this->imageUrl);
        } else if ($this->style) {
            $quad->setStyles($this->style, $this->subStyle);
        }
        return $this;
    }
public function applyToQuad ( Quad $ quad ) { if ( $ this -> imageUrl ) { $ quad -> setImageUrl ( $ this -> imageUrl ) ; } else if ( $ this -> style ) { $ quad -> setStyles ( $ this -> style , $ this -> subStyle ) ; } return $ this ; }
Apply the Design to the given Quad

@api
@param Quad $quad CheckBox Quad
@return static
Apply the Design to the given Quad