| <html> |
| <head> |
| <title>Struct StrokeAttributes</title> |
| <style>h3 { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:1pt; } |
| p, dt, dd, pre { font-size:11pt; margin-top:3pt; margin-bottom:1pt; } |
| table.lightbg { background-color:#eeeeff; } |
| table.subtitle { margin-top:6pt; margin-bottom:6pt; } |
| td { font-size:11pt; } |
| td.title { font-family: Arial; font-size:19pt; font-weight:bold; text-align:center; background-color:#ccccff; line-height:30pt; } |
| td.subtitle { font-family: Arial; font-size:13pt; background-color:#ccccff; line-height:20pt; } |
| td.imdetail { width:100%; background-color:#eeeeff; } |
| a.membertitle { font-size:12pt; font-weight:bold; line-height:18pt; } |
| td.imsum_left { width:30%; } |
| td.imsum_right { width:70%; } |
| td.navimain, a.navimain { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; } |
| td.navimainself { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; color:#ffffff; background-color:#2222ad; } |
| td.navimainnone { text-align:center; font-family: Arial; font-size:12pt; } |
| td.attrtitle { font-weight:bold; background-color:#eeeeff; } |
| td.navisub, a.navisub, td.attrtitle, td.attrvalue { text-align:center; font-family: Arial; font-size:9pt; font-variant:small-caps; } |
| td.navimain, td.navisub { padding-left:7pt; padding-right:7pt; } |
| p.raise { font-size:11pt; margin-top:0pt; text-align:right; padding-right:5pt; } |
| a.navimain, a.navisub { color:#000000; } |
| .dt { font-weight:bold; } |
| .namechain { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:6pt; } |
| .tpl { font-size:13pt; margin-top:3pt; margin-bottom:6pt; } |
| </style> |
| |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> |
| </head> |
| <body bgcolor="#ffffff"> |
| <a name="_top_"> </a> |
| <table border="0" cellpadding="3" class="lightbg"> |
| <tr> |
| <td class="navimain"><a href="com/sun/star/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="StrokeAttributes-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 border="0" cellpadding="0"> |
| <tr> |
| <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> |
| <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> |
| </tr> |
| </table> |
| <hr> |
| <table border="0" width="100%" cellpadding="5" cellspacing="3" style="margin-bottom:6pt;"> |
| <tr> |
| <td><p class="namechain"><a href="module-ix.html" class="namechain">::</a> </p> |
| </td> |
| </tr> |
| <tr> |
| <td class="title">struct StrokeAttributes</td> |
| </tr> |
| <tr> |
| <td/></tr> |
| <tr> |
| <td/></tr> |
| </table> |
| <hr> |
| <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle" colspan="2">Elements' Summary</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#strokeWidth">strokeWidth</a></td> |
| <td class="imsum_right"> Defines the width of the stroke, measured in the user |
| coordinate space. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#miterLimit">miterLimit</a></td> |
| <td class="imsum_right"> Determines the maximal length of the diagonal in mitered |
| corners. This attribute is only used when joinType is set to |
| miter. Should the length of a corner's diagonal exceed this |
| limit, a bevelled join is used instead. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#dashArray">dashArray</a></td> |
| <td class="imsum_right"> Array of on and off lengths, measured in the user coordinate |
| space. The first element specifies the length of the first |
| 'on' segment of the dashing, the second element the length of |
| the first 'off' segment, and so forth. Give zero elements here |
| for solid strokes. This array always have an even number of |
| elements, zero counting as even here. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#lineArray">lineArray</a></td> |
| <td class="imsum_right"> Array of line widths and spacings for multiple-line |
| strokes. The entries here are relative to the strokeWidth |
| attribute above, i.e. the total width of all lines and |
| spacings will always equal strokeWidth. The first element |
| specifies the width of the rightmost line, when travelling |
| from the start point of the path to the end point. The second |
| element specifies the space between the first line and the |
| second line, and so forth. If the array ends with a spacing, |
| this spacing is included in the total width of the |
| multiple-line stroke. That is, the stroke gets asymmetric. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#startType">startType</a></td> |
| <td class="imsum_right"> The start shape of the stroke. The start point is the first |
| point in the first polygon of the path polyPolygon. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#endType">endType</a></td> |
| <td class="imsum_right"> The end shape of the stroke. The end point is the last |
| point in the last polygon of the path polyPolygon. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#joinType">joinType</a></td> |
| <td class="imsum_right"> The join shape of the stroke. After every sub-stroke, |
| i.e. after every line or curve segment within a single path |
| polygon, a shape of this type is inserted into the stroke to |
| glue the segments together. Please note that distinct polygons |
| within the path polyPolygon are not connected, and therefore |
| also not joined via the shape specified here. |
| </td> |
| </tr> |
| </table> |
| <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle">Elements' Details</td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="strokeWidth" class="membertitle">strokeWidth</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>double <b>strokeWidth</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Defines the width of the stroke, measured in the user |
| coordinate space. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="miterLimit" class="membertitle">miterLimit</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>double <b>miterLimit</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Determines the maximal length of the diagonal in mitered |
| corners. This attribute is only used when joinType is set to |
| miter. Should the length of a corner's diagonal exceed this |
| limit, a bevelled join is used instead. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="dashArray" class="membertitle">dashArray</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>sequence< double > <b>dashArray</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Array of on and off lengths, measured in the user coordinate |
| space. The first element specifies the length of the first |
| 'on' segment of the dashing, the second element the length of |
| the first 'off' segment, and so forth. Give zero elements here |
| for solid strokes. This array always have an even number of |
| elements, zero counting as even here. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="lineArray" class="membertitle">lineArray</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>sequence< double > <b>lineArray</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Array of line widths and spacings for multiple-line |
| strokes. The entries here are relative to the strokeWidth |
| attribute above, i.e. the total width of all lines and |
| spacings will always equal strokeWidth. The first element |
| specifies the width of the rightmost line, when travelling |
| from the start point of the path to the end point. The second |
| element specifies the space between the first line and the |
| second line, and so forth. If the array ends with a spacing, |
| this spacing is included in the total width of the |
| multiple-line stroke. That is, the stroke gets asymmetric. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="startType" class="membertitle">startType</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><a href="PathCapType.html">PathCapType</a> <b>startType</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> The start shape of the stroke. The start point is the first |
| point in the first polygon of the path polyPolygon. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="endType" class="membertitle">endType</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><a href="PathCapType.html">PathCapType</a> <b>endType</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> The end shape of the stroke. The end point is the last |
| point in the last polygon of the path polyPolygon. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="joinType" class="membertitle">joinType</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><a href="PathJoinType.html">PathJoinType</a> <b>joinType</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> The join shape of the stroke. After every sub-stroke, |
| i.e. after every line or curve segment within a single path |
| polygon, a shape of this type is inserted into the stroke to |
| glue the segments together. Please note that distinct polygons |
| within the path polyPolygon are not connected, and therefore |
| also not joined via the shape specified here. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2003 Sun Microsystems, Inc.</p> |
| </body> |
| |
| </html> |