Class ImageSource

    • Method Detail

      • withUrl

        public @NonNull ImageSource withUrl​(URI url)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withType

        public @NonNull ImageSource withType​(ImageSource.Type type)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDimension

        public @NonNull ImageSource withDimension​(Dimension dimension)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAreaOfInterest

        public @NonNull ImageSource withAreaOfInterest​(Area areaOfInterest)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • getUrl

        public URI getUrl()
      • getDimension

        public Dimension getDimension()
      • getAreaOfInterest

        public Area getAreaOfInterest()
      • equals

        public boolean equals​(@Nullable Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(@Nullable Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object