PT-BR/svgGetSize

From Multi Theft Auto: Wiki
Revision as of 03:41, 20 February 2022 by LODS (talk | contribs) (Created page with "{{BR/Funcao cliente}} {{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}} ==Sintaxe== <syntaxhighlight lang="lua">int, int svgGetSize( svg svgElement )</syntaxhighlight> ===Argumentos Necessários=== *'''svgElement:''' O elemento svg que você deseja obter o tamanho. ===Retornos=== * Retorna dois ints, representando '''largura''' e '''altura''' ==Exemplo== Veja o exemplo em svgSetSize. ==Requisitos== {{Requireme...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:BR/Funcao cliente Gets the underlying XML document from an SVG element.

Sintaxe

int, int svgGetSize( svg svgElement )

Argumentos Necessários

  • svgElement: O elemento svg que você deseja obter o tamanho.

Retornos

  • Retorna dois ints, representando largura e altura

Exemplo

Veja o exemplo em svgSetSize.

Requisitos

Minimum server version n/a
Minimum client version 1.5.8-9.20979

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.20979" />

Veja também