feat: add new components to Display structure (#16870)
* feat: add new components to Display structure * add internal property * expose colorDepth * add specs
This commit is contained in:
		
					parent
					
						
							
								5a44cc50cf
							
						
					
				
			
			
				commit
				
					
						bf276ecc69
					
				
			
		
					 3 changed files with 88 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -5,10 +5,15 @@
 | 
			
		|||
  clock-wise degrees.
 | 
			
		||||
* `scaleFactor` Number - Output device's pixel scale factor.
 | 
			
		||||
* `touchSupport` String - Can be `available`, `unavailable`, `unknown`.
 | 
			
		||||
* `monochrome` Boolean - Whether or not the display is a monochrome display.
 | 
			
		||||
* `accelerometerSupport` String - Can be `available`, `unavailable`, `unknown`.
 | 
			
		||||
* `colorDepth` Number - The number of bits per pixel.
 | 
			
		||||
* `depthPerComponent` Number - The number of bits per color component.
 | 
			
		||||
* `bounds` [Rectangle](rectangle.md)
 | 
			
		||||
* `size` [Size](size.md)
 | 
			
		||||
* `workArea` [Rectangle](rectangle.md)
 | 
			
		||||
* `workAreaSize` [Size](size.md)
 | 
			
		||||
* `internal` Boolean - `true` for an internal display and `false` for an external display
 | 
			
		||||
 | 
			
		||||
The `Display` object represents a physical display connected to the system. A
 | 
			
		||||
fake `Display` may exist on a headless system, or a `Display` may correspond to
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue