TextToBmp/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Delay in milliseconds before executing the command. It has no effect if Enabled=0.“)
(Založena nová stránka s textem „Delay in milliseconds before executing the command. It has no effect if Enabled=0.“)
Řá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 ==
 
== Výstupní parametry ==

Verze z 1. 2. 2021, 18:27

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

Definice nebo identifikátor fontu.

FontColor

Type Color

Barva textu.

BackgroundColor

Type Color

Barva pozadí.

Left

Type Number

Šířka levého okraje v pixelech. Záporné hodnoty umožňují ořez.

Top

Type Number

Šířka horního okraje v pixelech. Záporné hodnoty umožňují ořez.

Right

Type Number

Šířka pravého okraje v pixelech. Záporné hodnoty umožňují ořez.

Bottom

Type Number

Šířka dolního okraje v pixelech. Záporné hodnoty umožňují ořez.

OnlyIfNotNull

Type Number

Pokud má hodnotu 1, pak se příkaz neprovádí v případě, kdy není zadána hodnota parametru Text.

Quality

Type Number

Kvalita renderování textu (0=default, 1=draft, 2=proof, 3=nonantialiased, 4=antialiased, 5=cleartype, 6=cleartype natural).

Method

Type Number

Metoda renderování textu (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.

Výstupní parametry

Bitmap

Type Bitmap

Vygenerovaná bitmapa