Area
    
    
    
    
        
        
    Table of Contents
    
    Properties
    
            - 
    $height
    
                         : float            
- 
    $width
    
                         : float            
- 
    $x
    
                         : float            
- 
    $y
    
                         : float            
    Methods
    
            - 
    __construct()
    
                                 : mixed    
- 
    __toString()
    
                                 : string    
- 
    applyRatioRestriction()
    
                                 : Area    
- 
    asArray()
    
                                 : array<string|int, mixed>    
- 
    createEmpty()
    
                                 : Area    
- 
    createFromConfiguration()
    
                                 : Area    
- 
    createMultipleFromConfiguration()
    
                                 : array<string|int, Area>    
- 
    getHeight()
    
                                 : float    
- 
    getOffsetLeft()
    
                                 : float    
- 
    getOffsetTop()
    
                                 : float    
- 
    getWidth()
    
                                 : float    
- 
    isEmpty()
    
                                 : bool    
- 
    makeAbsoluteBasedOnFile()
    
                                 : Area    
- 
    makeRelativeBasedOnFile()
    
                                 : Area    
        $height
        
        
                                            
    
    
    
    
    
        protected
            float
    $height
    
    
    
    
    
    
                    
    
        $width
        
        
                                            
    
    
    
    
    
        protected
            float
    $width
    
    
    
    
    
    
                    
    
        $x
        
        
                                            
    
    
    
    
    
        protected
            float
    $x
    
    
    
    
    
    
                    
    
        $y
        
        
                                            
    
    
    
    
    
        protected
            float
    $y
    
    
    
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct(float $x, float $y, float $width, float $height) : mixed
    
        
    
    
        Parameters
    
                    - 
                $x
                : float
                            
- 
                
            
- 
                $y
                : float
                            
- 
                
            
- 
                $width
                : float
                            
- 
                
            
- 
                $height
                : float
                            
- 
                
            
        __toString()
        
    
    
    
    
    public
                    __toString() : string
    
        
    
    
    
    
    
            
                    
    
        applyRatioRestriction()
        
    
    
    
    
    public
                    applyRatioRestriction(Ratio $ratio) : Area
    
        
    
    
        Parameters
    
                    - 
                $ratio
                : Ratio
                            
- 
                
            
        asArray()
        
    
    
    
    
    public
                    asArray() : array<string|int, mixed>
    
        
    
    
    
    
                        
            
    
            
        Return values
        array<string|int, mixed>
            
                    
    
        createEmpty()
        
    
    
    
    
    public
            static        createEmpty() : Area
    
        
    
    
    
    
    
            
                    
    
        createFromConfiguration()
        
    
    
    
    
    public
            static        createFromConfiguration(array<string|int, mixed> $config) : Area
    
        
    
    
        Parameters
    
                    - 
                $config
                : array<string|int, mixed>
                            
- 
                
            
                                    - 
                    throws
                
- 
                                                                InvalidConfigurationException
                                                            
                                             
                                    
        createMultipleFromConfiguration()
        
    
    
    
    
    public
            static        createMultipleFromConfiguration(array<string|int, mixed> $config) : array<string|int, Area>
    
        
    
    
        Parameters
    
                    - 
                $config
                : array<string|int, mixed>
                            
- 
                
            
                                    - 
                    throws
                
- 
                                                                InvalidConfigurationException
                                                            
                                             
                                    
Return values
        array<string|int, Area>
            
                    
    
        getHeight()
        
    
    
    
    
    public
                    getHeight() : float
    
        
    
    
    
    
    
            
                    
    
        getOffsetLeft()
        
    
    
    
    
    public
                    getOffsetLeft() : float
    
        
    
    
    
    
    
            
                    
    
        getOffsetTop()
        
    
    
    
    
    public
                    getOffsetTop() : float
    
        
    
    
    
    
    
            
                    
    
        getWidth()
        
    
    
    
    
    public
                    getWidth() : float
    
        
    
    
    
    
    
            
                    
    
        isEmpty()
        
    
    
    
    
    public
                    isEmpty() : bool
    
        
    
    
    
    
    
            
                    
    
        makeAbsoluteBasedOnFile()
        
    
    
    
    
    public
                    makeAbsoluteBasedOnFile(FileInterface $file) : Area
    
        
    
    
        Parameters
    
                    - 
                $file
                : FileInterface
                            
- 
                
            
        makeRelativeBasedOnFile()
        
    
    
    
    
    public
                    makeRelativeBasedOnFile(FileInterface $file) : Area
    
        
    
    
        Parameters
    
                    - 
                $file
                : FileInterface
                            
-