Class MediaQuery

java.lang.Object
com.itextpdf.styledxmlparser.css.media.MediaQuery

public class MediaQuery extends Object
Class that bundles all the media query properties.
  • Method Details

    • matches

      public boolean matches (MediaDeviceDescription deviceDescription)
      Tries to match a device description with the media query.
      Parameters:
      deviceDescription - the device description
      Returns:
      true, if successful