Develop and Download Open Source Software

Recent Changes

2012-04-17
2012-04-03
2012-02-11
2011-11-09

Wiki Guide

Side Bar

  • class SWFEditor function applyShapeRectFactor($shape_id, $scale_x, $scale_y, $trans_x, $trans_y)

説明

シェイプの描画枠のサイズ/位置に対して操作を行います。

引数

  • int $shape_id (操作対象 SHAPE の ID)
  • int $scale_x, $scale_y (X 方向、Y 方向に対して現在のサイズから更に何倍するかを指定します)
  • int $trans_x, $trans_y (X 方向、Y 方向に対して現在の位置からどの位ずらすかを指定します)

戻り値

  • boolean $result (true:成功, false:失敗)

使用例

<?php
$obj 
= new SWFEditor();
$obj->input($swfdata);
$obj->applyShapeRectFactor($shape_id2200); // (表示枠を縦横2倍ずつ拡げる)
echo $obj->output();

参考


SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.