1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<title>Cairo::Rectangleクラス</title>
<link href="../doc.css" type="text/css" rel="stylesheet" />
</head>
<div class="footer">
<ul>
<li><a href="./">索引</a></li>
</ul>
</div>
</body>
<h1><a name="label-0" id="label-0">Cairo::Rectangleクラス</a></h1><!-- RDLabel: "Cairo::Rectangleクラス" -->
<p>四角を表します。</p>
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
<ul>
<li>Object
<ul>
<li>Cairo::Rectangle</li>
</ul></li>
</ul>
<h2><a name="label-2" id="label-2">クラスメソッド</a></h2><!-- RDLabel: "クラスメソッド" -->
<dl>
<dt><a name="label-3" id="label-3"><code>Cairo::Rectangle.new(<var>x</var>, <var>y</var>, <var>width</var>, <var>height</var>)</code></a></dt><!-- RDLabel: "Cairo::Rectangle.new" -->
<dd>
指定した大きさの四角を作ります。
<ul>
<li>x: 四角の左側のX座標</li>
<li>y: 四角の上側のY座標</li>
<li>width: 四角の幅</li>
<li>height: 四角の高さ</li>
<li>戻り値: 新しく作った<a href="cairo-rectangle.html">Cairo::Rectangle</a>オブジェクト。</li>
</ul></dd>
</dl>
<h2><a name="label-4" id="label-4">インタンスメソッド</a></h2><!-- RDLabel: "インタンスメソッド" -->
<dl>
<dt><a name="label-5" id="label-5"><code>height</code></a></dt><!-- RDLabel: "height" -->
<dd>
四角の高さを返します。
<ul>
<li>戻り値: 高さ</li>
</ul></dd>
<dt><a name="label-6" id="label-6"><code>height=(<var>height</var>)</code></a></dt><!-- RDLabel: "height=" -->
<dd>
四角の高さを設定します。
<ul>
<li>height: 高さ</li>
</ul></dd>
<dt><a name="label-7" id="label-7"><code>width</code></a></dt><!-- RDLabel: "width" -->
<dd>
四角の幅を返します。
<ul>
<li>戻り値: 幅</li>
</ul></dd>
<dt><a name="label-8" id="label-8"><code>width=(<var>width</var>)</code></a></dt><!-- RDLabel: "width=" -->
<dd>
四角の幅を設定します。
<ul>
<li>width: 幅</li>
</ul></dd>
<dt><a name="label-9" id="label-9"><code>x</code></a></dt><!-- RDLabel: "x" -->
<dd>
四角の左側のX座標を返します。
<ul>
<li>戻り値: X座標</li>
</ul></dd>
<dt><a name="label-10" id="label-10"><code>x=(<var>x</var>)</code></a></dt><!-- RDLabel: "x=" -->
<dd>
四角の左側のX座標を設定します。
<ul>
<li>x: X座標</li>
</ul></dd>
<dt><a name="label-11" id="label-11"><code>y</code></a></dt><!-- RDLabel: "y" -->
<dd>
四角の左側のY座標を返します。
<ul>
<li>戻り値: Y座標</li>
</ul></dd>
<dt><a name="label-12" id="label-12"><code>y=(<var>y</var>)</code></a></dt><!-- RDLabel: "y=" -->
<dd>
四角の左側のY座標を設定します。
<ul>
<li>y: Y座標</li>
</ul></dd>
</dl>
<h2><a name="label-13" id="label-13">参考</a></h2><!-- RDLabel: "参考" -->
<ul>
<li><a href="index.html#label-0">索引</a></li>
</ul>
<h2><a name="label-14" id="label-14">変更履歴</a></h2><!-- RDLabel: "変更履歴" -->
<ul>
<li>2007-05-22: kou: スタート。</li>
</ul>
<div class="footer">
<ul>
<li><a href="./">索引</a></li>
</ul>
</div>
</body>
</html>
|