TextToBmp/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Type Color“)
 
(Není zobrazeno 18 mezilehlých verzí od stejného uživatele.)
Řádek 25: Řádek 25:
 
Type [[Special:MyLanguage/Data types#Font| Font]]
 
Type [[Special:MyLanguage/Data types#Font| Font]]
  
Definice nebo identifikátor fontu.
+
Font definition or identifier.
  
 
<span id="fontcolor-"></span>
 
<span id="fontcolor-"></span>
Řádek 32: Řádek 32:
 
Type [[Special:MyLanguage/Data types#Color | Color]]
 
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Barva textu.
+
Text color.
  
 
<span id="backgroundcolor-"></span>
 
<span id="backgroundcolor-"></span>
Řádek 39: Řádek 39:
 
Type [[Special:MyLanguage/Data types#Color | Color]]
 
Type [[Special:MyLanguage/Data types#Color | Color]]
  
Barva pozadí.
+
Background color.
  
 
<span id="left-"></span>
 
<span id="left-"></span>
Řádek 46: Řádek 46:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Šířka levého okraje v pixelech. Záporné hodnoty umožňují ořez.
+
Width of the left margin in pixels. Negative values enable trimming.
  
 
<span id="top-"></span>
 
<span id="top-"></span>
Řádek 53: Řádek 53:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Šířka horního okraje v pixelech. Záporné hodnoty umožňují ořez.
+
Width of the top margin in pixels. Negative values enable trimming.
  
 
<span id="right-"></span>
 
<span id="right-"></span>
Řádek 60: Řádek 60:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Šířka pravého okraje v pixelech. Záporné hodnoty umožňují ořez.
+
Width of the right margin in pixels. Negative values enable trimming.
  
 
<span id="bottom-"></span>
 
<span id="bottom-"></span>
Řádek 67: Řádek 67:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Šířka dolního okraje v pixelech. Záporné hodnoty umožňují ořez.
+
Width of the bottom margin in pixels. Negative values enable trimming.
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
Řádek 73: Řádek 73:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pokud má hodnotu 1, pak se příkaz neprovádí v případě, kdy není zadána hodnota parametru Text.
+
If the value is 1, the command will not execute unless the value of the Text parameter is specified.
  
 
<span id="quality-"></span>
 
<span id="quality-"></span>
Řádek 80: Řádek 80:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Kvalita renderování textu (0=default, 1=draft, 2=proof, 3=nonantialiased, 4=antialiased, 5=cleartype, 6=cleartype natural).
+
Quality of rendering the text (0=default, 1=draft, 2=proof, 3=nonantialiased, 4=antialiased, 5=cleartype, 6=cleartype natural).
  
 
<span id="method-"></span>
 
<span id="method-"></span>
Řádek 87: Řádek 87:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Metoda renderování textu (0=TextOut, 1=DrawText, 2=DirectWrite, 3=Java).
+
Method of rendering the text (0=TextOut, 1=DrawText, 2=DirectWrite, 3=Java).
  
 
=== Enabled ===
 
=== Enabled ===
Řádek 93: Řádek 93:
 
Type [[Special:MyLanguage/Data types#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 execute.
  
 
=== PreWait ===
 
=== PreWait ===
Řádek 99: Řádek 99:
 
Type [[Special:MyLanguage/Data types#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 the command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
Řádek 105: Řádek 105:
 
Type [[Special:MyLanguage/Data types#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="bitmap-"></span>
 
<span id="bitmap-"></span>
 
=== Bitmap ===
 
=== Bitmap ===
  
Typ [[Special:MyLanguage/Datové typy#Bitmap | Bitmap]]
+
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
  
Vygenerovaná bitmapa
+
Generated bitmap.

Aktuální verze z 1. 2. 2021, 18:33

Jiné jazyky:
English • ‎čeština

Description

Alias: TTB

Generates a bitmap from text

Renders the Text string with a FontColor in the BackgroundColor, using the Font, and it saves the result in the Bitmap output parameter. The margins can be specified using Left, Top, Right and Bottom. The rendering mode is determined by the combination of Method and Quality.

Input parameters

Text

Type String

Text for rendering.

Font

Type Font

Font definition or identifier.

FontColor

Type Color

Text color.

BackgroundColor

Type Color

Background color.

Left

Type Number

Width of the left margin in pixels. Negative values enable trimming.

Top

Type Number

Width of the top margin in pixels. Negative values enable trimming.

Right

Type Number

Width of the right margin in pixels. Negative values enable trimming.

Bottom

Type Number

Width of the bottom margin in pixels. Negative values enable trimming.

OnlyIfNotNull

Type Number

If the value is 1, the command will not execute unless the value of the Text parameter is specified.

Quality

Type Number

Quality of rendering the text (0=default, 1=draft, 2=proof, 3=nonantialiased, 4=antialiased, 5=cleartype, 6=cleartype natural).

Method

Type Number

Method of rendering the text (0=TextOut, 1=DrawText, 2=DirectWrite, 3=Java).

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not execute.

PreWait

Type Number

Delay in milliseconds before executing the 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

Bitmap

Type Bitmap

Generated bitmap.