com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class XmpRational

  • All Implemented Interfaces:
    IXmpType


    public final class XmpRational
    extends XmpTypeBase

    Represents XMP XmpRational.

    • Constructor Detail

      • XmpRational

        public XmpRational(int numerator,
                   int denominator)

        Initializes a new instance of the XmpRational class.

        Parameters:
        numerator - The numerator.
        denominator - The denominator.
    • Method Detail

      • getNumerator

        public final int getNumerator()

        Gets numerator.

        Value: The numerator.
      • getDenominator

        public final int getDenominator()

        Gets denominator

        Value: The denominator.
      • setDenominator

        public final void setDenominator(int value)

        Gets denominator

        Value: The denominator.
      • getFloatValue

        public final float getFloatValue()

        Gets value of rational type presented in float format.

        Value: Float value.