CompareBitmaps/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Type Number“)
(Založena nová stránka s textem „Negation of the parameter Equal. If BitmapA and BitmapB are different, the value will be 1, otherwise 0.“)
Řádek 91: Řádek 91:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Negace parametru [[#equal-| Equal]]. Pokud jsou bitmapy [[#bitmapa-| BitmapA]] a [[#bitmapb-| BitmapB]] různé, bude mít hodnotu 1, jinak 0.
+
Negation of the parameter [[#equal-| Equal]]. If [[#bitmapa-| BitmapA]] and [[#bitmapb-| BitmapB]] are different, the value will be 1, otherwise 0.
  
 
<span id="acontainsb-"></span>
 
<span id="acontainsb-"></span>

Verze z 27. 1. 2021, 15:27

Jiné jazyky:
English • ‎čeština

Description

Alias: CMB

Compares 2 bitmaps.

Compares BitmapA with BitmapB and uses the results to set the outputs Equal, NotEqual, AContainsB and BContainsA. The values of the currently set tolerances are taken into account during the comparison. For the comparison, the mask for BitmapA (MaskModeA and MaskColorA parameters) and BitmapB (MaskModeB and MaskColorB parameters) can also be set.

Input parameters

BitmapA

Type Bitmap

The first bitmap compared.

BitmapB

Type Bitmap

The second bitmap compared.

MaskModeA

Type Number

Mask regime for BitmapA (0=none, 1=user mask, 2=automatic mask).

MaskModeB

Type Number

Mask regime for BitmapB (0=none, 1=user mask, 2=automatic mask).

MaskColorA

Type Color

Color of mask in BitmapA (only used for MaskModeA=1).

MaskColorB

Type Color

Color of mask in BitmapB (only used for MaskModeB=1).

OnlyIfNotNull

Type Number

If the value is 1, the command will be executed only if both bitmaps are specified.

Enabled

Type Number

Allows or prohibits a command. When 0, no command will be executed.

PreWait

Type Number

Delay in milliseconds before executing a command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing a command. It has no effect if Enabled=0.

Output parameters

Equal

Type Number

If BitmapA and BitmapB are identical, the value will be 1, otherwise 0.

NotEqual

Type Number

Negation of the parameter Equal. If BitmapA and BitmapB are different, the value will be 1, otherwise 0.

AContainsB

Typ Number

Pokud je bitmapa BitmapB součástí bitmapy BitmapA, bude mít hodnotu 1, jinak 0.

BContainsA

Typ Number

Pokud je bitmapa BitmapA součástí bitmapy BitmapB, bude mít hodnotu 1, jinak 0.

Viz také

Používání masky