Home | Trees | Indices | Help |
|
---|
|
init()
Create an instance of a blank texture object.
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
FMETexture |
|
||
tuple of float s
|
|
||
tuple of float s or None
|
|
||
tuple of float s
|
|
||
int
|
|
||
tuple of float s or None
|
|
||
tuple of float s
|
|
||
int
|
|
||
list of list s of float s
|
|
||
list of list s of float s
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
This routine makes a duplicate of itself.
|
This routine retrieves the border color of this Texture. The color is
a vector in r g b color space with values between 0.0 and 1.0. This will
return
|
This routine retrieves the center associated with the texture. This
will return
|
This routine retrieves the offset associated with the texture. This
will return
|
This routine retrieves the rotation angle associated with the texture.
The angle is stored in degrees CCW from the x-axis, and is by default 0.
Rotation is centered according to the Center variable. This return
|
This routine retrieves the scaling factors associated with the
texture. This will return
|
This routine retrieves the shearing factors associated with the
texture. Shearing is centered according to the Center variable. This will
return
|
This routine retrieves the wrapping style associated with the texture. The style is stored as a FME_TextureWrap value, and is by default FME_TEXTURE_REPEAT_BOTH, which results in the texture being tiled in both the u and v direction.
|
This routine retrieves the texture transformation matrix associated with the texture, it is a combination of the rotation, scaling, shear and translation factors, applied in that order.
|
This routine retrieves the texture transformation matrix associated with the texture in the reverse order and inverse of each operation, that consists of offset, negative shear, 1 / scale, and negative rotation in that order. This matrix can be used to transform the texture coordinates that are associated with this texture.
|
This routine returns true if any non-default texture transform factors are set. The default texture transform matrix is identity and this returns false.
|
This routine sets the border color of this Texture. The color values should be in r g b color space withvalues between 0.0 and 1.0. The border color is used only if the FME_TextureWrap value is set to FME_TEXTURE_BORDER_FILL. Setting the border color will also set the FME_TextureWrap value to FME_TEXTURE_BORDER_FILL. Setting the any color value to a negative value will remove the color from this Texture and the FME_TextureWrap 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.
|
This routine sets the center associated with the texture. The default center for a texture is (0,0). The center is only used for shearing and rotation.
|
This routine sets the offset associated with the texture. The default offset for a texture is (0,0).
|
This routine sets the rotation angle associated with the texture. Rotation is centered according to the Center variable. The angle is stored in degrees CCW from the x-axis, and is by default 0.
|
This routine sets the scaling factors associated with the texture. The default scaling for a texture is (1,1).
|
This routine sets the shearing factors associated with the texture. Shearing is centered according to the Center variable. The default shearing for a texture is (0,0).
|
This routine sets the wrapping style associated with the texture. The style is stored as a FME_TextureWrap value. If the style is set to FME_TEXTURE_BORDER_FILL, the default border color of black (0,0,0), will be set. If the style is set to something other than FME_TEXTURE_BORDER_FILL, the border color will be removed from the texture.
|
This routine sets the texture transformation matrix associated with the texture. The shear, offset, rotation and will be calculated from the matrix so that when rotation, shear, scale and translation are applied in order, it is the equivalent of the input matrix. If the non-translation component of the matrix has a zero determinant or m[0][0] = 0, the matrix will not be used and existing parameters will remain unchanged.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:21:05 2017 | http://epydoc.sourceforge.net |