DevicePixelRatio extension

Extension on image that allows to store device pixel ratio alongside the image itself.

on

Properties

devicePixelRatio double?
Device pixel ratio of the image or null if not set.
getter/setter pair
pointHeight double
Returns the height of image in resolution independent points.
no setter
pointSize Size
no setter
pointWidth double
Returns the width of image in resolution independent points.
no setter