CompareBitmaps/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Type Bitmap“)
 
(Není zobrazeno 37 mezilehlých verzí od stejného uživatele.)
Řádek 18: Řádek 18:
 
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
 
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
  
První porovnávaná bitmapa.
+
Bitmap comapred first.
  
 
<span id="bitmapb-"></span>
 
<span id="bitmapb-"></span>
 
=== BitmapB ===
 
=== BitmapB ===
  
Typ [[Special:MyLanguage/Datové typy#Bitmap | Bitmap]]
+
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
  
Druhá porovnávaná bitmapa.
+
Bitmap comapred second.
  
 
<span id="maskmodea-"></span>
 
<span id="maskmodea-"></span>
 
=== MaskModeA ===
 
=== MaskModeA ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim masky pro bitmapu BitmapA (0=žádná, 1=uživatelská maska, 2=automatická maska).
+
Mask mose for BitmapA (0=none, 1=user mask, 2=automatic mask).
  
 
<span id="maskmodeb-"></span>
 
<span id="maskmodeb-"></span>
 
=== MaskModeB ===
 
=== MaskModeB ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim masky pro bitmapu BitmapB (0=žádná, 1=uživatelská maska, 2=automatická maska).
+
Mask mode for BitmapB (0=none, 1=user mask, 2=automatic mask).
  
 
=== MaskColorA ===
 
=== MaskColorA ===
  
Typ [[Special:MyLanguage/Datové typy#Color | Color]]
+
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Barva masky v bitmapě BitmapA (používá se pouze při [[#maskmodea-| MaskModeA]]=1).
+
Color of mask in BitmapA (only used for [[#maskmodea-| MaskModeA]]=1).
  
 
=== MaskColorB ===
 
=== MaskColorB ===
  
Typ [[Special:MyLanguage/Datové typy#Color | Color]]
+
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Barva masky v bitmapě BitmapB (používá se pouze při [[#maskmodeb-| MaskModeB]]=1).
+
Color of mask in BitmapB (only used for [[#maskmodeb-| MaskModeB]]=1).
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud má hodnotu 1, pak se příkaz provádí pouze v případě, kdy jsou zadány obě bitmapy.
+
If the value is 1, the command will be executed only if both bitmaps are specified.
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not be executed.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing a command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
<span id="equal-"></span>
 
<span id="equal-"></span>
 
=== Equal ===
 
=== Equal ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud jsou bitmapy [[#bitmapa-| BitmapA]] a [[#bitmapb-| BitmapB]] totožné, bude mít hodnotu 1, jinak 0.
+
If [[#bitmapa-| BitmapA]] and [[#bitmapb-| BitmapB]] are identical, the value will be 1, otherwise 0.
  
 
<span id="notequal-"></span>
 
<span id="notequal-"></span>
 
=== NotEqual ===
 
=== NotEqual ===
  
Typ [[Special:MyLanguage/Datové typy#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>
 
=== AContainsB ===
 
=== AContainsB ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud je bitmapa [[#bitmapb-| BitmapB]] součástí bitmapy [[#bitmapa-| BitmapA]], bude mít hodnotu 1, jinak 0.
+
If [[#bitmapb-| BitmapB]] is part of [[#bitmapa-| BitmapA]], the value will be 1, otherwise 0.
  
 
<span id="bcontainsa-"></span>
 
<span id="bcontainsa-"></span>
 
=== BContainsA ===
 
=== BContainsA ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud je bitmapa [[#bitmapa-| BitmapA]] součástí bitmapy [[#bitmapb-| BitmapB]], bude mít hodnotu 1, jinak 0.
+
If [[#bitmapa-| BitmapA]] is part of [[#bitmapb-| BitmapB]], the value will be 1, otherwise 0.
  
== Viz také ==
+
== See also ==
  
[[Special:MyLanguage/Používání masky|Používání masky]]
+
[[Special:MyLanguage/Using masks|Using masks]]

Aktuální verze z 3. 2. 2021, 09:50

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

Bitmap comapred first.

BitmapB

Type Bitmap

Bitmap comapred second.

MaskModeA

Type Number

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

MaskModeB

Type Number

Mask mode 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

Enables or disables the command. If the value is 0, the command will not 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 the 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

Type Number

If BitmapB is part of BitmapA, the value will be 1, otherwise 0.

BContainsA

Type Number

If BitmapA is part of BitmapB, the value will be 1, otherwise 0.

See also

Using masks