PictureEffectsRaw Xojo Plugin |
|
TrimEffectRaw.SetTrimColorGrayA Method (console safe)
Sets Trim gray color and alpha.
SetTrimColorGrayA(
gray as UInt16,
alpha as UInt16,
valuesAre16Bit as Boolean)
Parameters
- gray
- The gray value to be set.
- alpha
- The alpha component of the color.
- valuesAre16Bit
- Specifies if you are passing 8bit per channel color or 16bit per channel color. The effect can and will convert if your color depth does not match the bitmap, but for maximum accuracy you will want to pass in the color in correct dept.
Remarks
Note that the color values either have the range 0 to 255 or 0 to 65535 depending on if your working with 8bit per channel images or 16bit per channel images.
Only last method call to any one of the following functions applies: SetTrimAlpha, SetTrimColorCMYK, SetTrimColorCMYKA, SetTrimGray, SetTrimGrayA, SetTrimColorRGB, SetTrimColorRGBA.
See Also
TrimEffectRaw Class