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 to FME_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 to FME_TEXTURE_REPEAT_BOTH. If the underlying raster is single channel, the gray-scale equivalent border color will be calculated.

Parameters:
  • r (float) – The r value of the border color of this Texture.

  • g (float) – The g value of the border color of this Texture.

  • b (float) – The b value of the border color of this Texture.

Return type:

None