Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value
Size::__construct
Method of the class: Size{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Size = new Size(); $Size->__construct( $fSize, $sUnit, $bIsColorComponent, $iLineNo );
- $fSize(float|int|string) (required)
- .
- $sUnit(string|null)
- .
Default:null - $bIsColorComponent(true|false)
- .
Default:false - $iLineNo(int)
- .
Size::__construct() Size:: construct code WC 10.4.3
public function __construct($fSize, $sUnit = null, $bIsColorComponent = false, $iLineNo = 0)
{
parent::__construct($iLineNo);
$this->fSize = (float)$fSize;
$this->sUnit = $sUnit;
$this->bIsColorComponent = $bIsColorComponent;
}