Packages

 

com.aspose.imaging.fileformats.emf.emf.objects

Class EmfPixelFormatDescriptor

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPixelFormatDescriptor
    extends EmfObject

    The PixelFormatDescriptor object can be used in EMR_HEADER records (section 2.3.4.2) to specify the pixel format of the output surface for the playback device context.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte getBReserved()
      Gets or sets specifies the number of overlay and underlay planes.
      byte getCAccumAlphaBits()
      Gets or sets specifies the number of alpha bitplanes in the accumulation buffer
      byte getCAccumBits()
      Gets or sets specifies the total number of bitplanes in the accumulation buffer.
      byte getCAccumBlueBits()
      Gets or sets specifies the number of blue bitplanes in the accumulation buffer.
      byte getCAccumGreenBits()
      Gets or sets specifies the number of green bitplanes in the accumulation
      byte getCAccumRedBits()
      Gets or sets specifies the number of red bitplanes in the accumulation buffer
      byte getCAlphaBits()
      Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer
      byte getCAlphaShift()
      Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer
      byte getCAuxBuffers()
      Gets or sets specifies the number of auxiliary buffers.
      byte getCBlueBits()
      Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.
      byte getCBlueShift()
      Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.
      byte getCColorBits()
      Gets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes.
      byte getCDepthBits()
      Gets or sets specifies the depth of the depth (z-axis) buffer.
      byte getCGreenBits()
      Gets or sets Specifies the number of green bitplanes in each RGBA color buffer
      byte getCGreenShift()
      Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.
      byte getCRedBits()
      Gets or sets Specifies the number of red bitplanes in each RGBA color buffer
      byte getCRedShift()
      Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.
      byte getCStencilBits()
      Gets or sets specifies the depth of the stencil buffer.
      int getDwDamageMask()
      Gets or sets This field MAY be ignored
      int getDwFlags()
      Gets or sets bit flags that specify properties of the pixel buffer that is used for output to the drawing surface.
      int getDwLayerMask()
      Gets or sets This field MAY be ignored.
      int getDwVisibleMask()
      Gets or sets specifies the transparent color or index of an underlay plane.
      byte getILayerType()
      Gets or sets This field MAY be ignored
      byte getIPixelType()
      Gets or sets the type of pixel data PFD_TYPE_RGBA 0x00 The pixel format is RGBA.
      short getNSize()
      Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.
      short getNVersion()
      Gets or sets a 16-bit integer that MUST be set to 0x0001.
      void setBReserved(byte value)
      Gets or sets specifies the number of overlay and underlay planes.
      void setCAccumAlphaBits(byte value)
      Gets or sets specifies the number of alpha bitplanes in the accumulation buffer
      void setCAccumBits(byte value)
      Gets or sets specifies the total number of bitplanes in the accumulation buffer.
      void setCAccumBlueBits(byte value)
      Gets or sets specifies the number of blue bitplanes in the accumulation buffer.
      void setCAccumGreenBits(byte value)
      Gets or sets specifies the number of green bitplanes in the accumulation
      void setCAccumRedBits(byte value)
      Gets or sets specifies the number of red bitplanes in the accumulation buffer
      void setCAlphaBits(byte value)
      Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer
      void setCAlphaShift(byte value)
      Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer
      void setCAuxBuffers(byte value)
      Gets or sets specifies the number of auxiliary buffers.
      void setCBlueBits(byte value)
      Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.
      void setCBlueShift(byte value)
      Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.
      void setCColorBits(byte value)
      Gets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes.
      void setCDepthBits(byte value)
      Gets or sets specifies the depth of the depth (z-axis) buffer.
      void setCGreenBits(byte value)
      Gets or sets Specifies the number of green bitplanes in each RGBA color buffer
      void setCGreenShift(byte value)
      Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.
      void setCRedBits(byte value)
      Gets or sets Specifies the number of red bitplanes in each RGBA color buffer
      void setCRedShift(byte value)
      Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.
      void setCStencilBits(byte value)
      Gets or sets specifies the depth of the stencil buffer.
      void setDwDamageMask(int value)
      Gets or sets This field MAY be ignored
      void setDwFlags(int value)
      Gets or sets bit flags that specify properties of the pixel buffer that is used for output to the drawing surface.
      void setDwLayerMask(int value)
      Gets or sets This field MAY be ignored.
      void setDwVisibleMask(int value)
      Gets or sets specifies the transparent color or index of an underlay plane.
      void setILayerType(byte value)
      Gets or sets This field MAY be ignored
      void setIPixelType(byte value)
      Gets or sets the type of pixel data PFD_TYPE_RGBA 0x00 The pixel format is RGBA.
      void setNSize(short value)
      Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.
      void setNVersion(short value)
      Gets or sets a 16-bit integer that MUST be set to 0x0001.
    • Constructor Detail

      • EmfPixelFormatDescriptor

        public EmfPixelFormatDescriptor()
    • Method Detail

      • getNSize

        public short getNSize()

        Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.

      • setNSize

        public void setNSize(short value)

        Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.

      • getNVersion

        public short getNVersion()

        Gets or sets a 16-bit integer that MUST be set to 0x0001.

      • setNVersion

        public void setNVersion(short value)

        Gets or sets a 16-bit integer that MUST be set to 0x0001.

      • getDwFlags

        public int getDwFlags()

        Gets or sets bit flags that specify properties of the pixel buffer that is used for output to the drawing surface. These properties are not all mutually exclusive; combinations of flags are allowed, except where noted otherwise.

      • setDwFlags

        public void setDwFlags(int value)

        Gets or sets bit flags that specify properties of the pixel buffer that is used for output to the drawing surface. These properties are not all mutually exclusive; combinations of flags are allowed, except where noted otherwise.

      • getIPixelType

        public byte getIPixelType()

        Gets or sets the type of pixel data PFD_TYPE_RGBA 0x00 The pixel format is RGBA. PFD_TYPE_COLORINDEX 0x01 Each pixel is an index in a color table.

      • setIPixelType

        public void setIPixelType(byte value)

        Gets or sets the type of pixel data PFD_TYPE_RGBA 0x00 The pixel format is RGBA. PFD_TYPE_COLORINDEX 0x01 Each pixel is an index in a color table.

      • getCColorBits

        public byte getCColorBits()

        Gets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes. For color table pixels, it is the size of each color table index

      • setCColorBits

        public void setCColorBits(byte value)

        Gets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes. For color table pixels, it is the size of each color table index

      • getCRedBits

        public byte getCRedBits()

        Gets or sets Specifies the number of red bitplanes in each RGBA color buffer

      • setCRedBits

        public void setCRedBits(byte value)

        Gets or sets Specifies the number of red bitplanes in each RGBA color buffer

      • getCRedShift

        public byte getCRedShift()

        Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.

      • setCRedShift

        public void setCRedShift(byte value)

        Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.

      • getCGreenBits

        public byte getCGreenBits()

        Gets or sets Specifies the number of green bitplanes in each RGBA color buffer

      • setCGreenBits

        public void setCGreenBits(byte value)

        Gets or sets Specifies the number of green bitplanes in each RGBA color buffer

      • getCGreenShift

        public byte getCGreenShift()

        Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.

      • setCGreenShift

        public void setCGreenShift(byte value)

        Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.

      • getCBlueBits

        public byte getCBlueBits()

        Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.

      • setCBlueBits

        public void setCBlueBits(byte value)

        Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.

      • getCBlueShift

        public byte getCBlueShift()

        Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.

      • setCBlueShift

        public void setCBlueShift(byte value)

        Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.

      • getCAlphaBits

        public byte getCAlphaBits()

        Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer

      • setCAlphaBits

        public void setCAlphaBits(byte value)

        Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer

      • getCAlphaShift

        public byte getCAlphaShift()

        Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer

      • setCAlphaShift

        public void setCAlphaShift(byte value)

        Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer

      • getCAccumBits

        public byte getCAccumBits()

        Gets or sets specifies the total number of bitplanes in the accumulation buffer.

      • setCAccumBits

        public void setCAccumBits(byte value)

        Gets or sets specifies the total number of bitplanes in the accumulation buffer.

      • getCAccumRedBits

        public byte getCAccumRedBits()

        Gets or sets specifies the number of red bitplanes in the accumulation buffer

      • setCAccumRedBits

        public void setCAccumRedBits(byte value)

        Gets or sets specifies the number of red bitplanes in the accumulation buffer

      • getCAccumGreenBits

        public byte getCAccumGreenBits()

        Gets or sets specifies the number of green bitplanes in the accumulation

      • setCAccumGreenBits

        public void setCAccumGreenBits(byte value)

        Gets or sets specifies the number of green bitplanes in the accumulation

      • getCAccumBlueBits

        public byte getCAccumBlueBits()

        Gets or sets specifies the number of blue bitplanes in the accumulation buffer.

      • setCAccumBlueBits

        public void setCAccumBlueBits(byte value)

        Gets or sets specifies the number of blue bitplanes in the accumulation buffer.

      • getCAccumAlphaBits

        public byte getCAccumAlphaBits()

        Gets or sets specifies the number of alpha bitplanes in the accumulation buffer

      • setCAccumAlphaBits

        public void setCAccumAlphaBits(byte value)

        Gets or sets specifies the number of alpha bitplanes in the accumulation buffer

      • getCDepthBits

        public byte getCDepthBits()

        Gets or sets specifies the depth of the depth (z-axis) buffer.

      • setCDepthBits

        public void setCDepthBits(byte value)

        Gets or sets specifies the depth of the depth (z-axis) buffer.

      • getCStencilBits

        public byte getCStencilBits()

        Gets or sets specifies the depth of the stencil buffer.

      • setCStencilBits

        public void setCStencilBits(byte value)

        Gets or sets specifies the depth of the stencil buffer.

      • getCAuxBuffers

        public byte getCAuxBuffers()

        Gets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported

      • setCAuxBuffers

        public void setCAuxBuffers(byte value)

        Gets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported

      • getILayerType

        public byte getILayerType()

        Gets or sets This field MAY be ignored

      • setILayerType

        public void setILayerType(byte value)

        Gets or sets This field MAY be ignored

      • getBReserved

        public byte getBReserved()

        Gets or sets specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes

      • setBReserved

        public void setBReserved(byte value)

        Gets or sets specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes

      • getDwLayerMask

        public int getDwLayerMask()

        Gets or sets This field MAY be ignored.

      • setDwLayerMask

        public void setDwLayerMask(int value)

        Gets or sets This field MAY be ignored.

      • getDwVisibleMask

        public int getDwVisibleMask()

        Gets or sets specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel type is color index, it is a transparent index value.

      • setDwVisibleMask

        public void setDwVisibleMask(int value)

        Gets or sets specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel type is color index, it is a transparent index value.

      • getDwDamageMask

        public int getDwDamageMask()

        Gets or sets This field MAY be ignored

      • setDwDamageMask

        public void setDwDamageMask(int value)

        Gets or sets This field MAY be ignored