::

struct Texture

Elements' Summary
transform Texture transformation from primitive to texture space
transparency Overall transparency of the texturing
numberOfHatchPolygons Specifies the number of polygons the parametric polygon interface is queried. The continuous range [0,1] of the XParametricPolyPolygon::getOutline() method is divided up into numberOfHatchPolygons equal parts, and for everyone of these parts, the start of the interval is plugged into the getOutline method. For example, if numberOfHatchPolygons is 2, then getOutline is called twice, once with 0.0 and once with 0.5. Use this parameter to control the density of the hatching.
xBitmap Texture bitmap (can be used together with gradient and hatching)
xGradient Texture gradient (can be used together with bitmap and hatching). The parametric polygons color value is used to fill the returned polygonal outlines.
xHatching Texture hatching (can be used together with bitmap and gradient). The parametric polygons color value is used to stroke the returned polygonal outlines.
hatchAttributes Specifies the stroke attributes used for hatching. Use 0.0 as the strokeWidth here to indicate hair lines.
modeX Repeat mode of the texture, separated into x and y direction
modeY
Elements' Details
transform
AffineTransform transform;
Description
Texture transformation from primitive to texture space
transparency
double transparency;
Description
Overall transparency of the texturing
numberOfHatchPolygons
int numberOfHatchPolygons;
Description
Specifies the number of polygons the parametric polygon interface is queried. The continuous range [0,1] of the XParametricPolyPolygon::getOutline() method is divided up into numberOfHatchPolygons equal parts, and for everyone of these parts, the start of the interval is plugged into the getOutline method. For example, if numberOfHatchPolygons is 2, then getOutline is called twice, once with 0.0 and once with 0.5. Use this parameter to control the density of the hatching.
xBitmap
XBitmap xBitmap;
Description
Texture bitmap (can be used together with gradient and hatching)
xGradient
XParametricPolyPolygon xGradient;
Description
Texture gradient (can be used together with bitmap and hatching). The parametric polygons color value is used to fill the returned polygonal outlines.
xHatching
XParametricPolyPolygon xHatching;
Description
Texture hatching (can be used together with bitmap and gradient). The parametric polygons color value is used to stroke the returned polygonal outlines.
hatchAttributes
StrokeAttributes hatchAttributes;
Description
Specifies the stroke attributes used for hatching. Use 0.0 as the strokeWidth here to indicate hair lines.
modeX
TextureMode modeX;
Description
Repeat mode of the texture, separated into x and y direction
modeY
TextureMode modeY;
Top of Page