ResponsiveUnitsX extension
Properties
-
dg
→ double
-
Returns diagonal length in pixels calculated as a percentage of the
screen's diagonal length
no setter
-
h
→ double
-
Returns height in pixels calculated as a percentage of the
screen's height
no setter
-
sfdg
→ double
-
Returns the (safe) diagonal length in pixels calculated as a percentage
of the screen's diagonal length excluding the parts of the display that
are partially obscured by system UI (such as notches and the status bar)
no setter
-
sfh
→ double
-
Returns the (safe) height in pixels calculated as a percentage of the
screen's height excluding the parts of the display that are partially
obscured by system UI (such as notches and the status bar)
no setter
-
sfw
→ double
-
Returns the (safe) width in pixels calculated as a percentage of the
screen's width excluding the parts of the display that are partially
obscured by system UI (such as notches and the status bar)
no setter
-
sp
→ double
-
Returns a scalable pixel value that scales with the user selected text
scale factor
no setter
-
w
→ double
-
Returns width in pixels calculated as a percentage of the
screen's width
no setter