uiautomation
uiautomation.uiautomation.TransformPattern クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
bool CanMove (self)
 
bool CanResize (self)
 
bool CanRotate (self)
 
bool Move (self, int x, int y, float waitTime=OPERATION_WAIT_TIME)
 
bool Resize (self, int width, int height, float waitTime=OPERATION_WAIT_TIME)
 
bool Rotate (self, int degrees, float waitTime=OPERATION_WAIT_TIME)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.TransformPattern.__init__ (   self,
  pattern = None 
)
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationtransformpattern

メソッド詳解

◆ CanMove()

bool uiautomation.uiautomation.TransformPattern.CanMove (   self)
Property CanMove.
Call IUIAutomationTransformPattern::get_CurrentCanMove.
Return bool, indicates whether the element can be moved.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanmove

◆ CanResize()

bool uiautomation.uiautomation.TransformPattern.CanResize (   self)
Property CanResize.
Call IUIAutomationTransformPattern::get_CurrentCanResize.
Return bool, indicates whether the element can be resized.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanresize

◆ CanRotate()

bool uiautomation.uiautomation.TransformPattern.CanRotate (   self)
Property CanRotate.
Call IUIAutomationTransformPattern::get_CurrentCanRotate.
Return bool, indicates whether the element can be rotated.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-get_currentcanrotate

◆ Move()

bool uiautomation.uiautomation.TransformPattern.Move (   self,
int  x,
int  y,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationTransformPattern::Move.
Move the UI Automation element.
x: int.
y: int.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-move

◆ Resize()

bool uiautomation.uiautomation.TransformPattern.Resize (   self,
int  width,
int  height,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationTransformPattern::Resize.
Resize the UI Automation element.
width: int.
height: int.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-resize

◆ Rotate()

bool uiautomation.uiautomation.TransformPattern.Rotate (   self,
int  degrees,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationTransformPattern::Rotate.
Rotates the UI Automation element.
degrees: int.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern-rotate

メンバ詳解

◆ pattern

uiautomation.uiautomation.TransformPattern.pattern

このクラス詳解は次のファイルから抽出されました: