toString (Matrix.toString メソッド)

public toString() : String

Matrix オブジェクトのプロパティのリストを表すテキスト値を返します。

対応バージョン : ActionScript 1.0、Flash Player 8

戻り値

String - Matrix オブジェクトのプロパティ (abcdtxty) の値が含まれるストリング。

次の例では、myMatrix を作成し、その値を (a=A, b=B, c=C, d=D, tx=TX, ty=TY) という形式のストリングに変換します。

import flash.geom.Matrix;

var myMatrix:Matrix = new Matrix();
trace("myMatrix: " + myMatrix.toString()); // (a=1, b=0, c=0, d=1, tx=0, ty=0)

 

このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート

現在のページ: http://livedocs.adobe.com/flash/9.0_jp/main/00001858.html