Flash CS3 ドキュメンテーション |
|||
| ActionScript 2.0 リファレンスガイド > ActionScript クラス > Rectangle (flash.geom.Rectangle) > bottom (Rectangle.bottom プロパティ) | |||
public bottom : Number
y プロパティと height プロパティの合計です。
対応バージョン : ActionScript 1.0、Flash Player 8
次の例では、Rectangle オブジェクトを作成し、その bottom プロパティの値を 15 から 30 に変更します。rect.height の値も 10 から 25 に変わることに注意してください。
import flash.geom.Rectangle; var rect:Rectangle = new Rectangle(5, 5, 10, 10); trace(rect.height); // 10 trace(rect.bottom); // 15 rect.bottom = 30; trace(rect.height); // 25 trace(rect.bottom); // 30
y (Rectangle.y プロパティ), height (Rectangle.height プロパティ)
このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート
現在のページ: http://livedocs.adobe.com/flash/9.0_jp/main/00002076.html