The following tables list the members exposed by IImGearAntiAlias.
Public Methods
| Name | Description |
| getMethod | Gets an image anti-aliasing method to use.
This mode is applicable only if a 1-bit-per-pixel image is to be drawn and if the destination image has a lower resolution than the original one.
ImGearAliasModes enumeration value. ImGearAliasModes |
| getThreshold | Gets an image aliasing threshold attribute.
Integer in range [0..100].
Its meaning depends on the Method value: If Method is set to ImGearAliasModes.SCALE_TO_GRAY, Threshold determines the number of black and white pixels in the destination gray pixel value. A value of 100 directs ImageGear to take 100% of white pixels. A value of 0 directs ImageGear to take 100% of black pixels. The default value, which is 50, directs ImageGear to take 50% white and 50% black pixels. If Method is set to ImGearAliasModes.PRESERVE_BLACK, Threshold determines the number of black pixels to preserve. A value of 100 means that 100% of the black pixels are preserved. The default value is 50. If Method is set to ImGearAliasModes.PRESERVE_WHITE, Threshold determines the number of white pixels to preserve. A value of 100 means that 100% of white pixels are preserved. The default value is 50.
ImGearAliasModesgetMethod |
| setMethod | Sets an image anti-aliasing method to use.
This mode is applicable only if a 1-bit-per-pixel image is to be drawn and if the destination image has a lower resolution than the original one.
ImGearAliasModes enumeration value. ImGearAliasModes |
| setThreshold | Sets an image aliasing threshold attribute.
Integer in range [0..100].
Its meaning depends on the Method value: If Method is set to ImGearAliasModes.SCALE_TO_GRAY, Threshold determines the number of black and white pixels in the destination gray pixel value. A value of 100 directs ImageGear to take 100% of white pixels. A value of 0 directs ImageGear to take 100% of black pixels. The default value, which is 50, directs ImageGear to take 50% white and 50% black pixels. If Method is set to ImGearAliasModes.PRESERVE_BLACK, Threshold determines the number of black pixels to preserve. A value of 100 means that 100% of the black pixels are preserved. The default value is 50. If Method is set to ImGearAliasModes.PRESERVE_WHITE, Threshold determines the number of white pixels to preserve. A value of 100 means that 100% of white pixels are preserved. The default value is 50.
ImGearAliasModesgetMethod |
Top
See Also