Packages

 

com.aspose.imaging.fileformats.psd.resources

Class PixelAspectRatioResource



  • public final class PixelAspectRatioResource
    extends ResourceBlock

    Pixel aspect ration resource

    • Constructor Detail

      • PixelAspectRatioResource

        public PixelAspectRatioResource()

        Initializes a new instance of the ResolutionInfoResource class.

    • Method Detail

      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Value: The resource data size.
        Specified by:
        getDataSize in class ResourceBlock
        Returns:
        The resource data size.
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required PSD version.

        Value: The minimal PSD version.
        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal PSD version.
      • getVersion

        public int getVersion()

        Gets or sets the version.

        Value: The version.
      • setVersion

        public void setVersion(int value)

        Gets or sets the version.

        Value: The version.
      • getAspectRatio

        public double getAspectRatio()

        Gets or sets the aspect ratio.

        Value: The aspect ratio.
      • setAspectRatio

        public void setAspectRatio(double value)

        Gets or sets the aspect ratio.

        Value: The aspect ratio.