activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

UI Automation のアクティビティ

最終更新日時 2025年10月6日

DrawPattern

デバイス画面上で、複数の点でマークされたパスを描画します。フィンガー パスの点は、デバイス画面上を指がなぞるルートから記録されます。複数のフィンガー パスを追加して、複数の指を使用する画面操作をシミュレートできます。

定義

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

オーバー ロード

オーバーロード説明
DrawPattern(FingerPath, CoordinatesTypeEnum, PressTypeEnum, float, MobileOptions.DrawPatternOptions)デバイス画面上で、複数の点でマークされた単一のパスを描画します。
DrawPattern(List<FingerPath>, CoordinatesTypeEnum, PressTypeEnum, float, MobileOptions.DrawPatternOptions)デバイス画面上で、複数の点でマークされた複数のパスを描画します。ユーザーがデバイス画面上で 2 本の指を必要とするアクションを実行するシナリオに適しています。

DrawPattern(FingerPath, CoordinatesTypeEnum, PressTypeEnum, float, MobileOptions.DrawPatternOptions)

デバイス画面上で、複数の点でマークされた単一のパスを描画します。

DrawPattern(
	    FingerPath fingerPath,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    PressTypeEnum pressType = PressTypeEnum.ShortPress,
	    float waitTime = 0f,
	    MobileOptions.DrawPatternOptions options = nullDrawPattern(
	    FingerPath fingerPath,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    PressTypeEnum pressType = PressTypeEnum.ShortPress,
	    float waitTime = 0f,
	    MobileOptions.DrawPatternOptions options = null
fingerPath FingerPath
All the points recorded from the path of the finger on the device screen, on a X-Y axis. Visit FingerPath Class to learn how to create the finger path, using the FingerPath Constructor and FingerPath Methods, part of the FingerPath class.
coordinatesType CoordinatesTypeEnum (任意)
指の座標を ElementExists API の CoordinatesTypeEnum オブジェクトとして指定します。既定値は null です。使用可能な種類は次のとおりです。
  • PhysicalPixels
  • DeviceIndependentPixels
pressType PressTypeEnum (任意)
上記パラメーターに入力した CoordinatesTypeEnum のタッチの種類を指定します。既定値は CoordinatesTypeEnum.DeviceIndependentPixels です。使用できるタッチの種類は次のとおりです。
  • タップ
  • LongPress
waitTime Float (任意)
フィンガー パス内の点が完了するまで待機する時間 (ミリ秒単位) です。
ヒント: iOS デバイスで期待どおりに動作させるには、waitTime プロパティの値を 0 より大きくする必要があります。
オプション MobileOptions.DrawPatternOptions (Optional)
DrawPattern アクションの MobileOptions.DrawPatternOptions を指定します。既定値は null です。

DrawPattern(List<FingerPath>, CoordinatesTypeEnum, PressTypeEnum, float, MobileOptions.DrawPatternOptions)

デバイス画面上で、複数の点でマークされた複数のパスを描画します。ユーザーがデバイス画面上で 2 本の指を必要とするアクションを実行するシナリオに適しています。

DrawPattern(
	    List<FingerPath> fingerPaths,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    PressTypeEnum pressType = PressTypeEnum.ShortPress,
	    float waitTime = 0f,
	    MobileOptions. DrawPatternOptions options = null
)DrawPattern(
	    List<FingerPath> fingerPaths,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    PressTypeEnum pressType = PressTypeEnum.ShortPress,
	    float waitTime = 0f,
	    MobileOptions. DrawPatternOptions options = null
)
fingerPaths List<FingerPath>
A list of finger paths created by multiple fingers on a screen, on a X-Y axis (for example, in a zoom-in or zoom-out scenario, the user touches the screen with two fingers in order to perform the action). Visit FingerPath Class to learn how to create the finger path, using the FingerPath Constructor and FingerPath Methods, part of the FingerPath class.
coordinatesType CoordinatesTypeEnum (任意)
指の座標を ElementExists API の CoordinatesTypeEnum オブジェクトとして指定します。既定値は null です。
pressType PressTypeEnum (任意)
上記パラメーターに入力した CoordinatesTypeEnum のタッチの種類を指定します。既定値は PressTypeEnum.ShortPress です。使用できるタッチの種類は次のとおりです。
  • タップ
  • LongPress
waitTime Float (任意)
フィンガー パス内の点が完了するまで待機する時間 (ミリ秒単位) です。
ヒント: iOS デバイスで期待どおりに動作させるには、waitTime プロパティの値を 0 より大きくする必要があります。
オプション MobileOptions.DrawPatternOptions (Optional)
DrawPattern アクションの MobileOptions.DrawPatternOptions を指定します。既定値は null です。

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo
信頼とセキュリティ
© 2005-2025 UiPath. All rights reserved.