Packages

 

com.aspose.imaging.fileformats.cmx.objectmodel.specs

Class CmxImageSpec

  • java.lang.Object
    • com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxImageSpec
    • Constructor Detail

      • CmxImageSpec

        public CmxImageSpec()
    • Method Detail

      • getType

        public final int getType()

        Gets the type of the image.

        Returns:
        the type of the image.
      • setType

        public final void setType(int value)

        Sets the type of the image.

        Parameters:
        value - the type of the image.
      • getCompression

        public final int getCompression()

        Gets the compression.

        Returns:
        the compression.
      • setCompression

        public final void setCompression(int value)

        Sets the compression.

        Parameters:
        value - the compression.
      • getSize

        public final long getSize()

        Gets the size of the image. Measures in bytes.

        Returns:
        the size of the image.
      • setSize

        public final void setSize(long value)

        Sets the size of the image. Measures in bytes.

        Parameters:
        value - the size of the image.
      • getCompressedSize

        public final long getCompressedSize()

        Gets the compressed size of the image. Measures in bytes.

        Returns:
        the compressed size of the image.
      • setCompressedSize

        public final void setCompressedSize(long value)

        Sets the compressed size of the image. Measures in bytes.

        Parameters:
        value - the compressed size of the image.
      • getBoundBox

        public final RectangleF getBoundBox()

        Gets the bound box.

        Returns:
        the bound box.
      • setBoundBox

        public final void setBoundBox(RectangleF value)

        Sets the bound box.

        Parameters:
        value - the bound box.
      • getCropBox

        public final RectangleF getCropBox()

        Gets the crop box.

        Returns:
        the crop box.
      • setCropBox

        public final void setCropBox(RectangleF value)

        Sets the crop box.

        Parameters:
        value - the crop box.
      • getMatrix

        public final Matrix getMatrix()

        Gets the transformation matrix.

        Returns:
        the transformation matrix.
      • setMatrix

        public final void setMatrix(Matrix value)

        Sets the transformation matrix.

        Parameters:
        value - the transformation matrix.
      • getImageType

        public final int getImageType()

        Gets the type of the image.

        Returns:
        the type of the image.
      • setImageType

        public final void setImageType(int value)

        Sets the type of the image.

        Parameters:
        value - the type of the image.
      • getWidth

        public final long getWidth()

        Gets the width of the image. Measures in pixels.

        Returns:
        the width of the image.
      • setWidth

        public final void setWidth(long value)

        Sets the width of the image. Measures in pixels.

        Parameters:
        value - the width of the image.
      • getHeight

        public final long getHeight()

        Gets the height of the image. Measures in pixels.

        Returns:
        the height of the image.
      • setHeight

        public final void setHeight(long value)

        Sets the height of the image. Measures in pixels.

        Parameters:
        value - the height of the image.
      • getColorPalette

        public final int[] getColorPalette()

        Gets the color palette array. Elements is ARGB color values represents in int

        Returns:
        the color palette array.
      • setColorPalette

        public final void setColorPalette(int[] value)

        Sets the color palette array. Elements is ARGB color values represents in int

        Parameters:
        value - the color palette array.
      • getRawData

        public final byte[] getRawData()

        Gets the raw byte data of the image.

        Returns:
        the raw byte data of the image.
      • setRawData

        public final void setRawData(byte[] value)

        Sets the raw byte data of the image.

        Parameters:
        value - the raw byte data of the image.
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A String that represents this instance.