::

interface XParametricPolyPolygon

Methods' Summary
getOutline Query the polygonal outline at the specified value. The returned outline must be clipped to the [0,1]x[0,1] rectangle.
getColor Query the color value for the polygonal area at the specified parameter value.
getPointColor Query the color for a dedicated point in the plane.
Methods' Details
getOutline
XPolyPolygon2D
getOutline(
 
[in] double
 
t );

Description
Query the polygonal outline at the specified value. The returned outline must be clipped to the [0,1]x[0,1] rectangle.
Parameter t
Parameter value in the range [0,1]. During painting, this range is sweeped through starting from 0, therefore the area covered by the returned XPolyPolygon2D should be monotonically decreasing with t (unless singularities in e.g. the resulting gradient are desired).
getColor
sequence< double >
getColor(
 
[in] double
 
t );

Description
Query the color value for the polygonal area at the specified parameter value.
Parameter t
Parameter value in the range [0,1]. During painting, this range is sweeped through starting from 0.
getPointColor
sequence< double >
getPointColor(
 
[in] Point2D
 
point );

Description
Query the color for a dedicated point in the plane.
Parameter point
The permissible parameter range for point is [0,1]x[0,1]
Top of Page