前のページ
Navigation
次のページ
concatenate translation matrix:
変換行列に移動行列を追加する

必須
concatenate translation matrix --the matrix that is to be added to
増されることになっている行列
オプション
delta x real horizontal transformation
横移動量。
delta y real vertical transformation
垂直移動量。
結果(戻り値)
matrix
サンプルスクリプト
property obj : {}
property pr : {}
tell application "Adobe Illustrator 9.0.2"
activate
make new document
set obj to obj & {entire path:{{anchor:{0, 760.0}, left direction:{0, 780.0}, right direction:{0, 500}, point type:corner} ツ
, {anchor:{-94.0, 505.0}, left direction:{-94.0, 505.0}, right direction:{-94.0, 505.0}, point type:corner}}}
set obj to obj & {entire path:pr}
set obj to obj & {width:100} --
set obj to obj & {opacity:50.0}
set obj to obj & {position:{0, 500}}
set obj to obj & {closed:true}
set obj to obj & {filled:true}
set obj to obj & {fill color:{cyan:10, magenta:30, yellow:20, black:0}}
make new path item of layer 1 of document 1 with properties obj
redraw
display dialog "横に200,縦に300移動します"
set mat1 to get identity matrix
set mat1 to concatenate translation matrix mat1 delta x 200 delta y 300

transform page item 1 of document 1 using mat1

end tell

用語集目次
Adobe_Illustrator_9.0目次
クラスマップ
ApppleScriptリンク
修正日 2001.6.4