Packages

 

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

Class CmxRasterImage

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

      • CmxRasterImage

        public CmxRasterImage()
    • 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.
      • isMask

        public final boolean isMask()

        Gets a value indicating whether this instance is mask.

        Returns:
        a value indicating whether this instance is mask.
      • setMask

        public final void setMask(boolean value)

        Sets a value indicating whether this instance is mask.

        Parameters:
        value - a value indicating whether this instance is mask.
      • getColorModel

        public final long getColorModel()

        Gets the color model.

        Returns:
        the color model.
      • setColorModel

        public final void setColorModel(long value)

        Sets the color model.

        Parameters:
        value - the color model.
      • 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.
      • getBitsPerPixel

        public final long getBitsPerPixel()

        Gets the bits per pixel.

        Returns:
        the bits per pixel.
      • setBitsPerPixel

        public final void setBitsPerPixel(long value)

        Sets the bits per pixel.

        Parameters:
        value - the bits per pixel.
      • getBytesPerLine

        public final long getBytesPerLine()

        Gets the size of the line. Measures in bytes.

        Returns:
        the size of the line.
      • setBytesPerLine

        public final void setBytesPerLine(long value)

        Sets the size of the line. Measures in bytes.

        Parameters:
        value - the size of the line.
      • 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.