Packages

 

com.aspose.imaging.fileformats.emf.emfplus.records

Class EmfPlusSetTsGraphics

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlusSetTsGraphics
    extends EmfPlusTerminalServerRecordType

    The EmfPlusSetTSGraphics record specifies the state of a graphics device context for a terminal server.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusSetTsGraphics(EmfPlusRecord source)
      Initializes a new instance of the EmfPlusSetTsGraphics class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte getAntiAliasMode()
      Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing.
      boolean getBasicVgaColors()
      Gets a value indicating whether [basic vga colors].
      byte getCompositingMode()
      Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors.
      byte getCompositingQuality()
      Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined.
      byte getFilterType()
      Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed.
      boolean getHavePalette()
      Gets a value indicating whether [have palette].
      EmfPlusPalette getPalette()
      Gets or sets an optional EmfPlusPalette object.
      byte getPixelOffset()
      Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process.
      short getRenderOriginX()
      Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.
      short getRenderOriginY()
      Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.
      short getTextContrast()
      Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text.
      byte getTextRenderHint()
      Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing.
      Matrix getWorldToDevice()
      Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.
      void setAntiAliasMode(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing.
      void setCompositingMode(byte value)
      Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors.
      void setCompositingQuality(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined.
      void setFilterType(byte value)
      Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed.
      void setPalette(EmfPlusPalette value)
      Gets or sets an optional EmfPlusPalette object.
      void setPixelOffset(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process.
      void setRenderOriginX(short value)
      Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.
      void setRenderOriginY(short value)
      Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.
      void setTextContrast(short value)
      Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text.
      void setTextRenderHint(byte value)
      Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing.
      void setWorldToDevice(Matrix value)
      Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.
    • Constructor Detail

      • EmfPlusSetTsGraphics

        public EmfPlusSetTsGraphics(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusSetTsGraphics class.

        Parameters:
        source - The source.
    • Method Detail

      • getBasicVgaColors

        public boolean getBasicVgaColors()

        Gets a value indicating whether [basic vga colors]. If set, the palette contains only the basic VGA colors.

        Value: true if [basic vga colors]; otherwise, false.
      • getHavePalette

        public boolean getHavePalette()

        Gets a value indicating whether [have palette]. If set, this record contains an EmfPlusPalette object (section 2.2.2.28) in the Palette field following the graphics state data.

        Value: true if [have palette]; otherwise, false.
      • getAntiAliasMode

        public byte getAntiAliasMode()

        Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing. It MUST be defined in the SmoothingMode enumeration (section 2.1.1.28).

        Value: The anti alias mode.
      • setAntiAliasMode

        public void setAntiAliasMode(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing. It MUST be defined in the SmoothingMode enumeration (section 2.1.1.28).

        Value: The anti alias mode.
      • getTextRenderHint

        public byte getTextRenderHint()

        Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing. It MUST be defined in the TextRenderingHint enumeration (section 2.1.1.32).

        Value: The text render hint.
      • setTextRenderHint

        public void setTextRenderHint(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing. It MUST be defined in the TextRenderingHint enumeration (section 2.1.1.32).

        Value: The text render hint.
      • getCompositingMode

        public byte getCompositingMode()

        Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. It MUST be a value in the CompositingMode enumeration (section 2.1.1.5).

        Value: The compositing mode.
      • setCompositingMode

        public void setCompositingMode(byte value)

        Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. It MUST be a value in the CompositingMode enumeration (section 2.1.1.5).

        Value: The compositing mode.
      • getCompositingQuality

        public byte getCompositingQuality()

        Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined. It MUST be a value in the CompositingQuality enumeration (section 2.1.1.6).

        Value: The compositing quality.
      • setCompositingQuality

        public void setCompositingQuality(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the degree of smoothing to apply to lines, curves and the edges of filled areas to make them appear more continuous or sharply defined. It MUST be a value in the CompositingQuality enumeration (section 2.1.1.6).

        Value: The compositing quality.
      • getRenderOriginX

        public short getRenderOriginX()

        Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.

        Value: The render origin x.
      • setRenderOriginX

        public void setRenderOriginX(short value)

        Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes.

        Value: The render origin x.
      • getRenderOriginY

        public short getRenderOriginY()

        Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.

        Value: The render origin y.
      • setRenderOriginY

        public void setRenderOriginY(short value)

        Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes.

        Value: The render origin y.
      • getTextContrast

        public short getTextContrast()

        Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text. This value MUST be in the range 0 to 12, inclusive.

        Value: The text contrast.
      • setTextContrast

        public void setTextContrast(short value)

        Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text. This value MUST be in the range 0 to 12, inclusive.

        Value: The text contrast.
      • getFilterType

        public byte getFilterType()

        Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. It MUST be a value in the FilterType enumeration (section 2.1.1.11).

        Value: The type of the filter.
      • setFilterType

        public void setFilterType(byte value)

        Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. It MUST be a value in the FilterType enumeration (section 2.1.1.11).

        Value: The type of the filter.
      • getPixelOffset

        public byte getPixelOffset()

        Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. It MUST be a value in the PixelOffsetMode enumeration (section 2.1.1.26).

        Value: The pixel offset.
      • setPixelOffset

        public void setPixelOffset(byte value)

        Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. It MUST be a value in the PixelOffsetMode enumeration (section 2.1.1.26).

        Value: The pixel offset.
      • getWorldToDevice

        public Matrix getWorldToDevice()

        Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.

        Value: The world to device.
      • setWorldToDevice

        public void setWorldToDevice(Matrix value)

        Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms.

        Value: The world to device.
      • getPalette

        public EmfPlusPalette getPalette()

        Gets or sets an optional EmfPlusPalette object.

        Value: The palette.
      • setPalette

        public void setPalette(EmfPlusPalette value)

        Gets or sets an optional EmfPlusPalette object.

        Value: The palette.