PT-BR/svgGetSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:


==Veja também==
==Veja também==
{{SVG_functions}}
{{PT-BR/SVG functions}}


[[en:svgGetSize]]
[[en:svgGetSize]]

Revision as of 17:59, 21 February 2022

Template:BR/Funcao cliente Obtém o documento XML subjacente de um elemento SVG.

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