window.PhysicalSize
A size represented in physical pixels.
#
Constructors#
constructor• new PhysicalSize(width
, height
)
#
ParametersName | Type |
---|---|
width | number |
height | number |
#
Defined in#
Properties#
height• height: number
#
Defined in#
type• type: string
= 'Physical'
#
Defined in#
width• width: number
#
Defined in#
Methods#
toLogical▸ toLogical(scaleFactor
): LogicalSize
Converts the physical size to a logical one.
#
ParametersName | Type |
---|---|
scaleFactor | number |