<html> <head> <title>Interface XParametricPolyPolygon2DFactory</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XParametricPolyPolygon2DFactory-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">rendering</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">interface XParametricPolyPolygon2DFactory</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>This interface provides factory methods to generate various ready-made XParametricPolyPolygon2Ds </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#createLinearHorizontalGradient">createLinearHorizontalGradient</a></td> <td class="imsum_right">Create a linear gradient. The gradient varies linearly between leftColor and rightColor in the x direction, and has constant color for fixed x coordinate value in y direction </td> </tr> <tr> <td class="imsum_left"><a href="#createAxialHorizontalGradient">createAxialHorizontalGradient</a></td> <td class="imsum_right">Create an axial gradient. The gradient has middleColor in the middle, and varies linearly between middleColor and endColor to both sides in the x direction. For fixed x coordinate, the gradient has constant color value in y direction. </td> </tr> <tr> <td class="imsum_left"><a href="#createEllipticalGradient">createEllipticalGradient</a></td> <td class="imsum_right">Create an elliptical gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via concentric ellipses around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is circular. If it's not 1, the gradient is elliptical, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color. </td> </tr> <tr> <td class="imsum_left"><a href="#createRectangularGradient">createRectangularGradient</a></td> <td class="imsum_right">Create a rectangular gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via rectangular boxes around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is quadratic. If it's not 1, the gradient is rectangular, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color. </td> </tr> <tr> <td class="imsum_left"><a href="#createVerticalLinesHatch">createVerticalLinesHatch</a></td> <td class="imsum_right">Create a line hash of vertical lines. The hashing consists of vertical lines, with colors varying linearly between leftColor and rightColor, when going from left to right </td> </tr> <tr> <td class="imsum_left"><a href="#createOrthogonalLinesHatch">createOrthogonalLinesHatch</a></td> <td class="imsum_right">Create a line hash of orthogonally crossing lines. The hashing consists of vertical and horizontal lines, with colors varying linearly between leftTopColor and rightBottomColor, when going from left to right (for the vertical lines) and from top tzo bottom (for the horizontal lines). </td> </tr> <tr> <td class="imsum_left"><a href="#createThreeCrossingLinesHatch">createThreeCrossingLinesHatch</a></td> <td class="imsum_right">Create a repeating line hash pattern of three crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines from left, top to bottom, right. Each of the three groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position. </td> </tr> <tr> <td class="imsum_left"><a href="#createFourCrossingLinesHatch">createFourCrossingLinesHatch</a></td> <td class="imsum_right">Create a repeating line hash pattern of four crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines in both directions. Each of the four groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="createLinearHorizontalGradient" class="membertitle">createLinearHorizontalGradient</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createLinearHorizontalGradient</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> leftColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> rightColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a linear gradient. The gradient varies linearly between leftColor and rightColor in the x direction, and has constant color for fixed x coordinate value in y direction </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createAxialHorizontalGradient" class="membertitle">createAxialHorizontalGradient</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createAxialHorizontalGradient</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> middleColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> endColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create an axial gradient. The gradient has middleColor in the middle, and varies linearly between middleColor and endColor to both sides in the x direction. For fixed x coordinate, the gradient has constant color value in y direction. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createEllipticalGradient" class="membertitle">createEllipticalGradient</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createEllipticalGradient</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> centerColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> endColor,</td> </tr> <tr> <td/><td valign="top">[in] ::com::sun::star::<a href="../geometry/module-ix.html">geometry</a>::<a href="../geometry/RealRectangle2D.html">RealRectangle2D</a></td> <td valign="bottom"> boundRect )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create an elliptical gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via concentric ellipses around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is circular. If it's not 1, the gradient is elliptical, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createRectangularGradient" class="membertitle">createRectangularGradient</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createRectangularGradient</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> centerColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> endColor,</td> </tr> <tr> <td/><td valign="top">[in] ::com::sun::star::<a href="../geometry/module-ix.html">geometry</a>::<a href="../geometry/RealRectangle2D.html">RealRectangle2D</a></td> <td valign="bottom"> boundRect )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a rectangular gradient. The gradient has centerColor in the middle, and varies linearly between center and endColor via rectangular boxes around the center point. Note that the absolute size of the rectangle given at this method does not matter, only it's aspect ratio: if this aspect ratio is 1, the gradient is quadratic. If it's not 1, the gradient is rectangular, with the special twist that the aspect ratio is maintained also for the center color: the gradient will not collapse into a single point, but become a line of center color. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createVerticalLinesHatch" class="membertitle">createVerticalLinesHatch</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createVerticalLinesHatch</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> leftColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> rightColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a line hash of vertical lines. The hashing consists of vertical lines, with colors varying linearly between leftColor and rightColor, when going from left to right </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createOrthogonalLinesHatch" class="membertitle">createOrthogonalLinesHatch</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createOrthogonalLinesHatch</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> leftTopColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> rightBottomColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a line hash of orthogonally crossing lines. The hashing consists of vertical and horizontal lines, with colors varying linearly between leftTopColor and rightBottomColor, when going from left to right (for the vertical lines) and from top tzo bottom (for the horizontal lines). </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createThreeCrossingLinesHatch" class="membertitle">createThreeCrossingLinesHatch</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createThreeCrossingLinesHatch</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> startColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> endColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a repeating line hash pattern of three crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines from left, top to bottom, right. Each of the three groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="createFourCrossingLinesHatch" class="membertitle">createFourCrossingLinesHatch</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="XParametricPolyPolygon2D.html">XParametricPolyPolygon2D</a></td> </tr> <tr> <td valign="top"><b>createFourCrossingLinesHatch</b>(</td> <td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> startColor,</td> </tr> <tr> <td/><td valign="top">[in] sequence< <a href="ColorComponent.html">ColorComponent</a> ></td> <td valign="bottom"> endColor )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Create a repeating line hash pattern of four crossing lines. The hashing consists of vertical and horizontal lines plus diagonal lines in both directions. Each of the four groups of lines varies the line color of distinct lines linearly from startColor to endColor, starting at the leftmost or topmost position. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>