Uses of Class
com.drew.lang.Rational
Packages that use Rational
Package
Description
Contains classes for working with TIFF format files.
Contains classes of generic utility.
Provides classes for generic modelling of metadata directories and tags.
Contains classes for the extraction and modelling of TIFF file metadata.
-
Uses of Rational in com.drew.imaging.tiff
Methods in com.drew.imaging.tiff with parameters of type RationalModifier and TypeMethodDescriptionvoidTiffHandler.setRational(int tagId, Rational rational) voidTiffHandler.setRationalArray(int tagId, Rational[] array) -
Uses of Rational in com.drew.lang
Methods in com.drew.lang that return RationalModifier and TypeMethodDescriptionRational.getAbsolute()Returns the absolute value of this object as a new Rational.Rational.getReciprocal()Returns the reciprocal value of this object as a new Rational.Rational.getSimplifiedInstance()Simplifies the representation of thisRationalnumber.Methods in com.drew.lang with parameters of type RationalModifier and TypeMethodDescriptionintCompares twoRationalinstances, returning true if they are mathematically equivalent (in consistence withequals(Object)method).static DoubleGeoLocation.degreesMinutesSecondsToDecimal(Rational degs, Rational mins, Rational secs, boolean isNegative) Converts DMS (degrees-minutes-seconds) rational values, as given inGpsDirectory, into a single value in degrees, as a double.booleanIndicates whether this instance andotherare numerically equal, even if their representations differ.booleanRational.equalsExact(Rational other) Indicates whether this instance andotherhave identical Numerator and Denominator. -
Uses of Rational in com.drew.metadata
Methods in com.drew.metadata that return RationalModifier and TypeMethodDescriptionDirectory.getRational(int tagType) Returns the specified tag's value as a Rational.Rational[]Directory.getRationalArray(int tagType) Returns the specified tag's value as an array of Rational.Methods in com.drew.metadata with parameters of type RationalModifier and TypeMethodDescriptionvoidDirectory.setRational(int tagType, Rational rational) Sets aRationalvalue for the specified tag.voidDirectory.setRationalArray(int tagType, Rational[] rationals) Sets aRational[](array) for the specified tag. -
Uses of Rational in com.drew.metadata.tiff
Methods in com.drew.metadata.tiff with parameters of type RationalModifier and TypeMethodDescriptionvoidDirectoryTiffHandler.setRational(int tagId, Rational rational) voidDirectoryTiffHandler.setRationalArray(int tagId, Rational[] array)