| 1 |
lars |
1 |
<style type="text/css">
|
|
|
2 |
<!--
|
|
|
3 |
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
4 |
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
5 |
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
|
|
|
6 |
th {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
|
|
7 |
//-->
|
|
|
8 |
</style><hr><a name="_C_FIELDARROW"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>FieldArrow</b></div>
|
|
|
9 |
<i>(Defined in: jpgraph_scatter.php : 17)</i><table border=1><tr><td> <a href="FieldArrow.html" style="font-family:arial;font-weight:bold;color:darkblue;">FieldArrow</a> </td></tr><tr><td valign=top> <a href="FieldArrow.html#_FIELDARROW_SETCOLOR">SetColor()</a> <br>
|
|
|
10 |
<a href="FieldArrow.html#_FIELDARROW_SETSIZE">SetSize()</a> <br>
|
|
|
11 |
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Internal helper class which represents the arrow head of the arrow in the field plot.
|
|
|
12 |
<p>
|
|
|
13 |
Only accessed as FieldPlot::arrow <p>
|
|
|
14 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="FieldPlot.html">FieldPlot</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
15 |
<p> <p> <span style='font-size:110%;'><a name="_FIELDARROW_SETCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
16 |
function SetColor($aColor)</font>
|
|
|
17 |
</b></div></a></span>
|
|
|
18 |
|
|
|
19 |
<span style='font-family:arial;font-size:90%;'><i>Specify color for arrow head</i></span><p>
|
|
|
20 |
|
|
|
21 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
22 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
23 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
24 |
$aColor</font>
|
|
|
25 |
|
|
|
26 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Color specification</td></tr>
|
|
|
27 |
</table>
|
|
|
28 |
|
|
|
29 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set color for arrow head <br>
|
|
|
30 |
|
|
|
31 |
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
|
|
|
32 |
$fieldplot->arrow->SetColor('red');</font>
|
|
|
33 |
</span><br>
|
|
|
34 |
<p>
|
|
|
35 |
<p> <p> <span style='font-size:110%;'><a name="_FIELDARROW_SETSIZE"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
36 |
function SetSize($aSize,$aArrowSize)</font>
|
|
|
37 |
</b></div></a></span>
|
|
|
38 |
|
|
|
39 |
<span style='font-family:arial;font-size:90%;'><i>Specify arrow and arrow head size</i></span><p>
|
|
|
40 |
|
|
|
41 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
42 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
43 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
44 |
$aSize</font>
|
|
|
45 |
|
|
|
46 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Arrow size in pixels</td></tr>
|
|
|
47 |
|
|
|
48 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
49 |
$aArrowSize</font>
|
|
|
50 |
|
|
|
51 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
52 |
2</font>
|
|
|
53 |
</td><td>Arrow head size (and shape) as integer in range (0-9)</td></tr>
|
|
|
54 |
</table>
|
|
|
55 |
|
|
|
56 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Arrow size is specified in pixels (length of arrow including arrow head). The size of the arrow head is specified as an integer in the range (0,9) inclusive. <br>
|
|
|
57 |
|
|
|
58 |
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
|
|
|
59 |
// First size argument is length (in pixels of arrow)
<br />// Second size argument is roughly size of arrow. Arrow size is specified as
<br />// an integer in the range [0,9]
<br />$fp->arrow->SetSize(20,2);
<br />$fp->arrow->SetColor('navy');
<br /></font>
|
|
|
60 |
</span><br>
|
|
|
61 |
<p> <hr> <p>
|