Class AbstractImageResolution

    • Constructor Detail

      • AbstractImageResolution

        protected AbstractImageResolution()
        Creates the Image Resolution property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • AbstractImageResolution

        protected AbstractImageResolution​(Atom propertyAtom)
        Creates the Image Resolution property container with the specified name. All system-reserved names for components begins with "$".
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • getDevicePixelRatio

        public double getDevicePixelRatio()
        Gets the Device Pixel Ratio.
        zero if not set, otherwise a ratio that normally is between 0.7 and 2.
      • setDevicePixelRatio

        public boolean setDevicePixelRatio​(java.lang.Double dpr)
        Sets the Device Pixel Ratio.
        dpr - The Device Pixel Ratio.
        true for change, false for no change to the value.