Packages

 

com.aspose.psd.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
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required PSD version.

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

        public final int getVersion()

        Gets or sets the version.

        Value: The version.
      • setVersion

        public final void setVersion(int value)

        Gets or sets the version.

        Value: The version.
      • getAspectRatio

        public final double getAspectRatio()

        Gets or sets the aspect ratio.

        Value: The aspect ratio.
      • setAspectRatio

        public final void setAspectRatio(double value)

        Gets or sets the aspect ratio.

        Value: The aspect ratio.