- Source:
 
Members
(readonly) pxDensity :number
    Screen density based on this.scale. Eg. 2 for @2 retina.
    Type:
- number
 
- Source:
 
(readonly) pxScale :number
    Pixel scaling based on this.scale. Eg. If this.scale is 0.5 on @2 retina then will return 1.0
    Type:
- number
 
- Source:
 
Methods
scaleForPxDensity() → {number}
    Scale for given pixel density.
- Source:
 
Returns:
    scale
- Type
 - number
 
transArtX(x)
    Translate art board relative pts to screen position (in pts).
    Parameters:
| Name | Type | Description | 
|---|---|---|
x | 
            
            number | Artboard x position (in PSD pts). | 
- Source:
 
transArtY(y)
    Translate art board relative pts to screen position (in pts).
    Parameters:
| Name | Type | Description | 
|---|---|---|
y | 
            
            number | Artboard y position (in PSD pts). | 
- Source:
 
transScreenX(screenX)
    Translate screen position (in pts) to art board relative pts.
- Opposite of `transArtY()`.
    - Opposite of `transArtY()`.
Parameters:
| Name | Type | Description | 
|---|---|---|
screenX | 
            
            number | Screen x position (in pts). | 
- Source:
 
transScreenY(screenY)
    Translate screen position (in pts) to art board relative pts.
- Opposite of `transArtX()`.
    - Opposite of `transArtX()`.
Parameters:
| Name | Type | Description | 
|---|---|---|
screenY | 
            
            number | Screen y position (in pts). | 
- Source: