window.PhysicalPosition
A position represented in physical pixels.
#
Constructors#
constructor• new PhysicalPosition(x
, y
)
#
ParametersName | Type |
---|---|
x | number |
y | number |
#
Defined in#
Properties#
type• type: string
= 'Physical'
#
Defined in#
x• x: number
#
Defined in#
y• y: number
#
Defined in#
Methods#
toLogical▸ toLogical(scaleFactor
): LogicalPosition
Converts the physical position to a logical one.
#
ParametersName | Type |
---|---|
scaleFactor | number |