EmfPlusSetTsGraphics
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusTerminalServerRecordType
public final class EmfPlusSetTsGraphics extends EmfPlusTerminalServerRecordType
The EmfPlusSetTSGraphics record specifies the state of a graphics device context for a terminal server.
Constructors
Constructor | Description |
---|---|
EmfPlusSetTsGraphics(EmfPlusRecord source) | Initializes a new instance of the EmfPlusSetTsGraphics class. |
Methods
Method | Description |
---|---|
getBasicVgaColors() | Gets a value indicating whether [basic vga colors]. |
getHavePalette() | Gets a value indicating whether [have palette]. |
getAntiAliasMode() | Gets or sets an 8-bit unsigned integer that specifies the quality of line rendering, including the type of line anti-aliasing. |
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. |
getTextRenderHint() | Gets or sets an 8-bit unsigned integer that specifies the quality of text rendering, including the type of text anti-aliasing. |
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. |
getCompositingMode() | Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. |
setCompositingMode(byte value) | Gets or sets an 8-bit unsigned integer that specifies how source colors are combined with background colors. |
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. |
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. |
getRenderOriginX() | Gets or sets a 16-bit signed integer, which is the horizontal coordinate of the origin for rendering halftoning and dithering matrixes. |
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. |
getRenderOriginY() | Gets or sets a 16-bit signed integer, which is the vertical coordinate of the origin for rendering halftoning and dithering matrixes. |
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. |
getTextContrast() | Gets or sets a 16-bit unsigned integer that specifies the gamma correction value used for rendering anti-aliased and ClearType text. |
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. |
getFilterType() | Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. |
setFilterType(byte value) | Gets or sets an 8-bit unsigned integer that specifies how scaling, including stretching and shrinking, is performed. |
getPixelOffset() | Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. |
setPixelOffset(byte value) | Gets or sets an 8-bit unsigned integer that specifies the overall quality of the image and text-rendering process. |
getWorldToDevice() | Gets or sets an 192-bit EmfPlusTransformMatrix object (section 2.2.2.47) that specifies the world space to device space transforms. |
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. |
getPalette() | Gets or sets an optional EmfPlusPalette object. |
setPalette(EmfPlusPalette value) | Gets or sets an optional EmfPlusPalette object. |
EmfPlusSetTsGraphics(EmfPlusRecord source)
public EmfPlusSetTsGraphics(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetTsGraphics
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfPlusRecord | The source. |
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
.
Returns: boolean
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
.
Returns: boolean
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.
Returns: byte
setAntiAliasMode(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: byte
setTextRenderHint(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: byte
setCompositingMode(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: byte
setCompositingQuality(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: short
setRenderOriginX(short value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
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.
Returns: short
setRenderOriginY(short value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
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.
Returns: short
setTextContrast(short value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
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.
Returns: byte
setFilterType(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: byte
setPixelOffset(byte value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
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.
Returns: Matrix
setWorldToDevice(Matrix value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Matrix |
getPalette()
public EmfPlusPalette getPalette()
Gets or sets an optional EmfPlusPalette object.
Value: The palette.
Returns: EmfPlusPalette
setPalette(EmfPlusPalette value)
public void setPalette(EmfPlusPalette value)
Gets or sets an optional EmfPlusPalette object.
Value: The palette.
Parameters:
Parameter | Type | Description |
---|---|---|
value | EmfPlusPalette |