fmeobjects.FMETexture.setBorderColor
- FMETexture.setBorderColor(r, g, b)
This routine sets the border color of this Texture. The color values should be in r g b color space with values between 0.0 and 1.0. The border color is used only if the Texture Wrap value is set to
FME_TEXTURE_BORDER_FILL
. Setting the border color will also set the Texture Wrap value toFME_TEXTURE_BORDER_FILL
. Setting the any color value to a negative value will remove the color from this Texture and the Texture Wrap value will be reset toFME_TEXTURE_REPEAT_BOTH
. If the underlying raster is single channel, the gray-scale equivalent border color will be calculated.