Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
abortPlaceGun() | なし | 配置の中止 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
getElements() | PlaceGun | |
  
   |
loadPlaceGun(fileName, [showingOptions], [withProperties]) | なし | Load the place gun with one or more files. |
| fileName |
File型, Array( File型 )
| | ファイル名 |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
rotate([direction]) | なし | Rotate the contents of the place gun. |
| [direction] |
RotationDirection(既定値=RotationDirection.FORWARD)
RotationDirection |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
BACKWARD | 1113680759 | 最背面のアイテムを最前面へ |
  
   |
FORWARD | 1181708919 | 最前面のアイテムを最背面へ |
| | 入れ替え方法 |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |