factoryBrowser

package
v0.0.0-...-a8ee3e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPath

func NewPath() *html.SvgPath

func NewStage

func NewStage() (ref *stage.Stage)

func NewTagA

func NewTagA(id string) (ref *html.TagA)

NewTagA

English:

Create the Anchor element.

The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.

Content within each <a> should indicate the link's destination. If the href attribute is present, pressing the enter key while focused on the <a> element will activate it.

Português:

Cria o elemento Âncora.

O elemento HTML <a> (ou elemento âncora), com seu atributo href, cria um hiperlink para páginas da web, arquivos, endereços de e-mail, locais na mesma página ou qualquer outra coisa que um URL possa endereçar.

O conteúdo de cada <a> deve indicar o destino do link. Se o atributo href estiver presente, pressionar a tecla enter enquanto estiver focado no elemento <a> irá ativá-lo.

func NewTagButton

func NewTagButton(id string) (ref *html.TagButton)

NewTagButton

English:

Create a new tag html button.

The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.

By default, HTML buttons are presented in a style resembling the platform the user agent runs on, but you can change buttons' appearance with CSS.

Português:

Cria uma nova tag html button

O elemento HTML <button> é um elemento interativo ativado por um usuário com mouse, teclado, dedo, comando de voz ou outra tecnologia assistiva. Uma vez ativado, ele executa uma ação programável, como enviar um formulário ou abrir uma caixa de diálogo.

Por padrão, os botões HTML são apresentados em um estilo semelhante à plataforma na qual o agente do usuário é executado, mas você pode alterar a aparência dos botões com CSS.

func NewTagCanvas

func NewTagCanvas(id string, width, height int) (ref *html.TagCanvas)

func NewTagDataList

func NewTagDataList(id string) (ref *html.TagDataList)

NewTagDataList

English:

Create the elemento datalist.

The <datalist> HTML element contains a set of <option> elements that represent the permissible or recommended options available to choose from within other controls.

Português:

Cria o elemento datalist

O elemento HTML <datalist> contém um conjunto de elementos <option> que representam as opções permitidas ou recomendadas disponíveis para escolha em outros controles.

Example:

factoryBrowser.NewTagDataList("test_A").
  SetNewOption("test_A_a", "label a", "value_a", true, false).
  SetNewOption("test_A_b", "label b", "value_b", false, false).
  SetNewOption("test_A_c", "label c", "value_c", false, false).
  SetNewOption("test_A_d", "label d", "value_d", false, true).
  AppendById("stage")

func NewTagDiv

func NewTagDiv() (ref *html.TagDiv)

NewTagDiv

English:

Creates a new html DIV element.

 Note:
   * Div Extends GlobalAttributes
   * By default, browsers always place a line break before and after the <div> element;
   * The <div> tag is used as a container for HTML elements - which is then styled with CSS or
     manipulated with JavaScript;
   * The <div> tag is easily styled by using the class or id attribute;
   * Any sort of content can be put inside the <div> tag.

The <div> tag defines a division or a section in an HTML document.

Português:

Cria um novo elemento html DIV.

 Nota:
   * Div estende GlobalAttributes
   * Por padrão, os navegadores sempre colocam uma quebra de linha antes e depois do elemento
     <div>;
   * A tag <div> é usada como um contêiner para elementos HTML - que são estilizados com CSS ou
     manipulados com JavaScript
   * A tag <div> é facilmente estilizada usando o atributo class ou id;
   * Qualquer tipo de conteúdo pode ser colocado dentro da tag <div>.

A tag <div> define uma divisão ou uma seção em um documento HTML.

func NewTagDivWithDelta

func NewTagDivWithDelta(deltaX, deltaY int) (ref *html.TagDiv)

func NewTagFieldSet

func NewTagFieldSet(id string) (ref *html.TagFieldset)

NewTagFieldSet

English:

Create the fieldset element.

The <fieldset> HTML element is used to group several controls as well as labels (<label>) within a web form.

Português:

Cria o elemento fieldset.

O elemento HTML <fieldset> é usado para agrupar vários controles, bem como rótulos (<label>) dentro de um formulário web.

func NewTagFigCaption

func NewTagFigCaption() (ref *html.TagFigCaption)

NewTagFigCaption

English:

The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element.

Português:

O elemento HTML <figcaption> representa uma legenda ou legenda descrevendo o restante do conteúdo de seu elemento pai <figure>.

func NewTagFigure

func NewTagFigure() (ref *html.TagFigure)

NewTagFigure

English:

The <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the <figcaption> element. The figure, its caption, and its contents are referenced as a single unit.

Notes:
  * Usually a <figure> is an image, illustration, diagram, code snippet, etc., that is referenced
    in the main flow of a document, but that can be moved to another part of the document or to
    an appendix without affecting the main flow.
  * Being a sectioning root, the outline of the content of the <figure> element is excluded from
    the main outline of the document.
  * A caption can be associated with the <figure> element by inserting a <figcaption> inside it
    (as the first or the last child). The first <figcaption> element found in the figure is
    presented as the figure's caption.

Português:

O elemento HTML <figure> representa conteúdo autocontido, potencialmente com uma legenda opcional, que é especificada usando o elemento <figcaption>. A figura, sua legenda e seu conteúdo são referenciados como uma única unidade.

Notas:
  * Normalmente uma <figura> é uma imagem, ilustração, diagrama, trecho de código, etc., que é
    referenciado no fluxo principal de um documento, mas que pode ser movido para outra parte do
    documento ou para um apêndice sem afetar o fluxo principal.
  * Sendo a seção principal, o contorno do conteúdo do elemento <figure> é excluído do contorno
    principal do documento.
  * Uma legenda pode ser associada ao elemento <figure> inserindo um <figcaption> dentro dele
    (como o primeiro ou o último filho). O primeiro elemento <figcaption> encontrado na figura é
    apresentado como legenda da figura.

func NewTagH1

func NewTagH1() (ref *html.TagH1)

NewTagH1

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagH2

func NewTagH2() (ref *html.TagH2)

NewTagH2

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagH3

func NewTagH3() (ref *html.TagH3)

NewTagH3

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagH4

func NewTagH4() (ref *html.TagH4)

NewTagH4

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagH5

func NewTagH5() (ref *html.TagH5)

NewTagH5

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagH6

func NewTagH6() (ref *html.TagH6)

NewTagH6

English:

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.

Multiple <h1> elements on one page

Using more than one <h1> is allowed by the HTML specification, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users.

The HTML specification includes the concept of an outline formed by the use of <section> elements. If this were implemented it would enable the use of multiple <h1> elements, giving user agents—including screen readers—a way to understand that an <h1> nested inside a defined section is a subheading. This functionality has never been implemented; therefore it is important to use your headings to describe the outline of your document.

Notes:
  * Heading information can be used by user agents to construct a table of contents for a
    document automatically.
  * Avoid using heading elements to resize text. Instead, use the CSS font-size property.
  * Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
  * Use only one <h1> per page or view. It should concisely describe the overall purpose of the
    content.
  * The align attribute is obsolete; don't use it.

Português:

Os elementos HTML <h1> a <h6> representam seis níveis de cabeçalho, onde, <h1> é o nível mais alto e <h6> o nível mais baixo.

Múltiplos elementos <h1> em uma página

O uso de mais de um <h1> é permitido pela especificação HTML, mas não é considerado uma prática recomendada. Usar apenas um <h1> é benéfico para usuários de leitores de tela.

A especificação HTML inclui o conceito de contorno formado pelo uso de elementos <section>. Se isso fosse implementado, permitiria o uso de vários elementos <h1>, dando aos agentes do usuário – incluindo leitores de tela – uma maneira de entender que um <h1> aninhado dentro de uma seção definida é um subtítulo. Essa funcionalidade nunca foi implementada; portanto, é importante usar seus títulos para descrever o esboço do seu documento.

Notas:
  * As informações de cabeçalho podem ser usadas por agentes de usuário para construir
    automaticamente um índice para um documento.
  * Evite usar elementos de título para redimensionar o texto. Em vez disso, use a propriedade
    CSS font-size.
  * Evite pular níveis de título: sempre comece de <h1>, seguido de <h2> e assim por diante.
  * Use apenas um <h1> por página ou visualização. Deve descrever de forma concisa o propósito
    geral do conteúdo.
  * O atributo align está obsoleto; não o use.

func NewTagImg

func NewTagImg() (ref *html.TagImg)

func NewTagInputButton

func NewTagInputButton(id string) (ref *html.TagInputButton)

NewTagInputButton

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputCheckBox

func NewTagInputCheckBox(id string) (ref *html.TagInputCheckBox)

NewTagInputCheckBox

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputColor

func NewTagInputColor(id string) (ref *html.TagInputColor)

NewTagInputColor

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputDate

func NewTagInputDate(id string) (ref *html.TagInputDate)

NewTagInputDate

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputDateTimeLocal

func NewTagInputDateTimeLocal(id string) (ref *html.TagInputDateTimeLocal)

NewTagInputDateTimeLocal

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputEMail

func NewTagInputEMail(id string) (ref *html.TagInputEMail)

NewTagInputEMail

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputFile

func NewTagInputFile(id string) (ref *html.TagInputFile)

NewTagInputFile

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputHidden

func NewTagInputHidden(id string) (ref *html.TagInputHidden)

NewTagInputHidden

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputImage

func NewTagInputImage(id string) (ref *html.TagInputImage)

NewTagInputImage

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputMonth

func NewTagInputMonth(id string) (ref *html.TagInputMonth)

NewTagInputMonth

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputNumber

func NewTagInputNumber(id string) (ref *html.TagInputNumber)

NewTagInputNumber

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputPassword

func NewTagInputPassword(id string) (ref *html.TagInputPassword)

NewTagInputPassword

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputRadio

func NewTagInputRadio(id string) (ref *html.TagInputRadio)

NewTagInputRadio

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputRange

func NewTagInputRange(id string) (ref *html.TagInputRange)

NewTagInputRange

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputSearch

func NewTagInputSearch(id string) (ref *html.TagInputSearch)

NewTagInputSearch

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputSubmit

func NewTagInputSubmit(id string) (ref *html.TagInputSubmit)

NewTagInputSubmit

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputTel

func NewTagInputTel(id string) (ref *html.TagInputTel)

NewTagInputTel

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputText

func NewTagInputText(id string) (ref *html.TagInputText)

NewTagInputText

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputTime

func NewTagInputTime(id string) (ref *html.TagInputTime)

NewTagInputTime

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputUrl

func NewTagInputUrl(id string) (ref *html.TagInputUrl)

NewTagInputUrl

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagInputWeek

func NewTagInputWeek(id string) (ref *html.TagInputWeek)

NewTagInputWeek

English:

Create the element input.

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.

The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Português:

Cria o elemento input.

O elemento HTML <input> é usado para criar controles interativos para formulários baseados na web para aceitar dados do usuário; uma ampla variedade de tipos de dados de entrada e widgets de controle estão disponíveis, dependendo do dispositivo e do agente do usuário.

O elemento <input> é um dos mais poderosos e complexos dentro do HTML, devido ao grande número de combinações de tipos de entrada e atributos.

func NewTagLabel

func NewTagLabel(id string) (ref *html.TagLabel)

NewTagLabel

English:

Create the Label element.

The <label> HTML element represents a caption for an item in a user interface.

Português:

Cria o elemento Label.

O elemento HTML <label> representa uma legenda para um item em uma interface do usuário.

func NewTagLegend

func NewTagLegend(id string) (ref *html.TagLegend)

NewTagLegend

English:

Create the Legend element.

The <legend> HTML element represents a caption for the content of its parent <fieldset>.

Português:

Crie o elemento Legenda.

O elemento HTML <legend> representa uma legenda para o conteúdo de seu pai <fieldset>.

func NewTagMeter

func NewTagMeter(id string) (ref *html.TagMeter)

NewTagMeter

English:

Create the Meter element.

The <meter> HTML element represents either a scalar value within a known range or a fractional
value.

Português:

Crie o elemento Medidor.

O elemento HTML <meter> representa um valor escalar dentro de um intervalo conhecido ou um
valor fracionário.

func NewTagOutput

func NewTagOutput(id string) (ref *html.TagOutput)

NewTagOutput

English:

The <output> HTML element is a container element into which a site or app can inject the results
of a calculation or the outcome of a user action.

Português:

O elemento HTML <output> é um elemento de contêiner no qual um site ou aplicativo pode injetar os
resultados de um cálculo ou o resultado de uma ação do usuário.

func NewTagSelect

func NewTagSelect(id string) (ref *html.TagSelect)

NewTagSelect

English:

Create a new element select.

The <select> HTML element represents a control that provides a menu of options.

Português:

Cria um novo elemento select.

O elemento HTML <select> representa um controle que fornece um menu de opções.

Example

factoryBrowser.NewTagSelect("test_A").
  SetNewOption("test_A_a", "label a", "value_a", true, false).
  SetNewOption("test_A_b", "label b", "value_b", false, false).
  SetNewOption("test_A_c", "label c", "value_c", false, false).
  SetNewOption("test_A_d", "label d", "value_d", false, true).
  AppendById("stage")

func NewTagSvg

func NewTagSvg() (ref *html.TagSvg)

NewTagSvg

English:

The svg element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.

Notes:
  * The xmlns attribute is only required on the outermost svg element of SVG documents. It is unnecessary for inner
    svg elements or inside HTML documents.

Português:

O elemento svg é um contêiner que define um novo sistema de coordenadas e viewport. Ele é usado como o elemento mais externo dos documentos SVG, mas também pode ser usado para incorporar um fragmento SVG dentro de um documento SVG ou HTML.

Notas:
  * O atributo xmlns só é necessário no elemento svg mais externo dos documentos SVG. É desnecessário para
    elementos svg internos ou dentro de documentos HTML.

func NewTagSvgA

func NewTagSvgA() (ref *html.TagSvgA)

NewTagSvgA

English:

The <a> SVG element creates a hyperlink to other web pages, files, locations in the same page, email addresses, or
any other URL. It is very similar to HTML's <a> element.

SVG's <a> element is a container, which means you can create a link around text (like in HTML) but also around any shape.

Notes:
  * Since this element shares its tag name with HTML's <a> element, selecting a with CSS or querySelector may apply
    to the wrong kind of element. Try the @namespace rule to distinguish the two.

Português:

O elemento SVG <a> cria um hiperlink para outras páginas da web, arquivos, locais na mesma página, endereços de
e-mail ou qualquer outro URL. É muito semelhante ao elemento <a> do HTML.

O elemento SVGs <a> é um contêiner, o que significa que você pode criar um link em torno do texto (como em HTML), mas também em torno de qualquer forma.

Notes:
  * Como esse elemento compartilha seu nome de tag com o elemento <a> do HTML, selecionar a com CSS ou
    querySelector pode se aplicar ao tipo errado de elemento. Experimente a regra @namespace para distinguir os
    dois.

func NewTagSvgAnimate

func NewTagSvgAnimate() (ref *html.TagSvgAnimate)

NewTagSvgAnimate

English:

The SVG <animate> element provides a way to animate an attribute of an element over time.

Português:

O elemento SVG <animate> fornece uma maneira de animar um atributo de um elemento ao longo do tempo.

func NewTagSvgAnimateMotion

func NewTagSvgAnimateMotion() (ref *html.TagSvgAnimateMotion)

NewTagSvgAnimateMotion

English:

The SVG <animateMotion> element provides a way to define how an element moves along a motion path.

Notes:
  * To reuse an existing path, it will be necessary to use an <mpath> element inside the <animateMotion> element
    instead of the path attribute.

Português:

O elemento SVG <animateMotion> fornece uma maneira de definir como um elemento se move ao longo de um caminho de movimento.

Notas:
  * Para reutilizar um caminho existente, será necessário usar um elemento <mpath> dentro do elemento
    <animateMotion> ao invés do atributo path.

func NewTagSvgAnimateTransform

func NewTagSvgAnimateTransform() (ref *html.TagSvgAnimateTransform)

NewTagSvgAnimateTransform

English:

The animateTransform element animates a transformation attribute on its target element, thereby allowing animations to control translation, scaling, rotation, and/or skewing.

Português:

O elemento animateTransform anima um atributo de transformação em seu elemento de destino, permitindo assim que as animações controlem a tradução, dimensionamento, rotação e ou inclinação.

func NewTagSvgCircle

func NewTagSvgCircle() (ref *html.TagSvgCircle)

NewTagSvgCircle

English:

The <circle> SVG element is an SVG basic shape, used to draw circles based on a center point and a radius.

Português:

O elemento SVG <circle> é uma forma básica SVG, usada para desenhar círculos com base em um ponto central e um raio.

func NewTagSvgClipPath

func NewTagSvgClipPath() (ref *html.TagSvgClipPath)

NewTagSvgClipPath

English:

The <clipPath> SVG element defines a clipping path, to be used by the clip-path property.

A clipping path restricts the region to which paint can be applied. Conceptually, parts of the drawing that lie outside of the region bounded by the clipping path are not drawn.

Português:

O elemento SVG <clipPath> define um caminho de recorte, a ser usado pela propriedade clip-path.

Um traçado de recorte restringe a região na qual a tinta pode ser aplicada. Conceitualmente, as partes do desenho que estão fora da região delimitada pelo caminho de recorte não são desenhadas.

func NewTagSvgDefs

func NewTagSvgDefs() (ref *html.TagSvgDefs)

NewTagSvgDefs

English:

The <defs> element is used to store graphical objects that will be used at a later time.

Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

Português:

O elemento <defs> é usado para armazenar objetos gráficos que serão usados posteriormente.

Objetos criados dentro de um elemento <defs> não são renderizados diretamente. Para exibi-los, você deve referenciá-los (com um elemento <use>, por exemplo).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

func NewTagSvgDesc

func NewTagSvgDesc() (ref *html.TagSvgDesc)

NewTagSvgDesc

English:

The <desc> element provides an accessible, long-text description of any SVG container element or graphics element.

Text in a <desc> element is not rendered as part of the graphic. If the element can be described by visible text, it is possible to reference that text with the aria-describedby attribute. If aria-describedby is used, it will take precedence over <desc>.

The hidden text of a <desc> element can also be concatenated with the visible text of other elements using multiple IDs in an aria-describedby value. In that case, the <desc> element must provide an ID for reference.

Português:

O elemento <desc> fornece uma descrição de texto longo e acessível de qualquer elemento de contêiner SVG ou elemento gráfico.

O texto em um elemento <desc> não é renderizado como parte do gráfico. Se o elemento puder ser descrito por texto visível, é possível fazer referência a esse texto com o atributo aria-describedby. Se aria-describedby for usado, terá precedência sobre <desc>.

O texto oculto de um elemento <desc> também pode ser concatenado com o texto visível de outros elementos usando vários IDs em um valor descrito por aria. Nesse caso, o elemento <desc> deve fornecer um ID para referência.

func NewTagSvgDiscard

func NewTagSvgDiscard() (ref *html.TagSvgDiscard)

NewTagSvgDiscard

English:

The <discard> SVG element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an SVG user agent. This is particularly useful to help SVG viewers conserve memory while displaying long-running documents.

The <discard> element may occur wherever the <animate> element may.

Português:

The <discard> SVG element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an SVG user agent. This is particularly useful to help SVG viewers conserve memory while displaying long-running documents.

The <discard> element may occur wherever the <animate> element may.

func NewTagSvgEllipse

func NewTagSvgEllipse() (ref *html.TagSvgEllipse)

NewTagSvgEllipse

English:

The <ellipse> element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.

Notes:
  * Ellipses are unable to specify the exact orientation of the ellipse (if, for example, you wanted to draw an
    ellipse tilted at a 45 degree angle), but it can be rotated by using the transform attribute.

Português:

O elemento <ellipse> é uma forma básica SVG, usada para criar elipses com base em uma coordenada central e em seus raios x e y.

Note:
  * As elipses não podem especificar a orientação exata da elipse (se, por exemplo, você quiser desenhar uma
    elipse inclinada em um ângulo de 45 graus), mas ela pode ser girada usando o atributo transform.

func NewTagSvgFeBlend

func NewTagSvgFeBlend() (ref *html.TagSvgFeBlend)

NewTagSvgFeBlend

English:

The <feBlend> SVG filter primitive composes two objects together ruled by a certain blending mode.

This is similar to what is known from image editing software when blending two layers. The mode is defined by the mode attribute.

Português:

A primitiva de filtro SVG <feBlend> compõe dois objetos juntos governados por um certo modo de mesclagem.

Isso é semelhante ao que é conhecido no software de edição de imagens ao misturar duas camadas. O modo é definido pelo atributo mode.

func NewTagSvgFeColorMatrix

func NewTagSvgFeColorMatrix() (ref *html.TagSvgFeColorMatrix)

NewTagSvgFeColorMatrix

English:

The <feColorMatrix> SVG filter element changes colors based on a transformation matrix. Every pixel's color value [R,G,B,A] is matrix multiplied by a 5 by 5 color matrix to create new color [R',G',B',A'].

 Notes:
   * The prime symbol ' is used in mathematics indicate the result of a transformation.

| R' |     | r1 r2 r3 r4 r5 |   | R |
| G' |     | g1 g2 g3 g4 g5 |   | G |
| B' |  =  | b1 b2 b3 b4 b5 | * | B |
| A' |     | a1 a2 a3 a4 a5 |   | A |
| 1  |     |  0  0  0  0  1 |   | 1 |

In simplified terms, below is how each color channel in the new pixel is calculated. The last row is ignored because its values are constant.

R' = r1*R + r2*G + r3*B + r4*A + r5
G' = g1*R + g2*G + g3*B + g4*A + g5
B' = b1*R + b2*G + b3*B + b4*A + b5
A' = a1*R + a2*G + a3*B + a4*A + a5

Take the amount of red in the new pixel, or R':

It is the sum of:

  • r1 times the old pixel's red R,
  • r2 times the old pixel's green G,
  • r3 times of the old pixel's blue B,
  • r4 times the old pixel's alpha A,
  • plus a shift r5.

These specified amounts can be any real number, though the final R' will be clamped between 0 and 1. The same goes for G', B', and A'.

R'      =      r1 * R      +        r2 * G      +       r3 * B      +       r4 * A       +       r5
New red = [ r1 * old red ] + [ r2 * old green ] + [ r3 * old Blue ] + [ r4 * old Alpha ] + [ shift of r5 ]

If, say, we want to make a completely black image redder, we can make the r5 a positive real number x, boosting the redness on every pixel of the new image by x.

An identity matrix looks like this:

     R G B A W
R' | 1 0 0 0 0 |
G' | 0 1 0 0 0 |
B' | 0 0 1 0 0 |
A' | 0 0 0 1 0 |

In it, every new value is exactly 1 times its old value, with nothing else added. It is recommended to start manipulating the matrix from here.

Português:

O elemento de filtro SVG <feColorMatrix> altera as cores com base em uma matriz de transformação. O valor de cor de cada pixel [R,G,B,A] é uma matriz multiplicada por uma matriz de cores de 5 por 5 para criar uma nova cor [R',G',B',A'].

 Notas:
   * O símbolo primo ' é usado em matemática para indicar o resultado de uma transformação.

| R' |     | r1 r2 r3 r4 r5 |   | R |
| G' |     | g1 g2 g3 g4 g5 |   | G |
| B' |  =  | b1 b2 b3 b4 b5 | * | B |
| A' |     | a1 a2 a3 a4 a5 |   | A |
| 1  |     |  0  0  0  0  1 |   | 1 |

Em termos simplificados, abaixo está como cada canal de cor no novo pixel é calculado. A última linha é ignorada porque seus valores são constantes.

R' = r1*R + r2*G + r3*B + r4*A + r5
G' = g1*R + g2*G + g3*B + g4*A + g5
B' = b1*R + b2*G + b3*B + b4*A + b5
A' = a1*R + a2*G + a3*B + a4*A + a5

Pegue a quantidade de vermelho no novo pixel, ou R':

É a soma de:

  • r1 vezes o antigo pixel vermelho, R,
  • r2 vezes o antigo pixel verde, G,
  • r3 vezes o antigo pixel azul, B,
  • r4 vezes o antigo pixel alpha, A,
  • mais um turno r5.

Esses valores especificados podem ser qualquer número real, embora o R' final seja fixado entre 0 e 1. O mesmo vale para G', B' e A'.

R'      =      r1 * R      +        r2 * G      +       r3 * B      +       r4 * A       +       r5
New red = [ r1 * old red ] + [ r2 * old green ] + [ r3 * old Blue ] + [ r4 * old Alpha ] + [ shift of r5 ]

Se, digamos, queremos tornar uma imagem completamente preta mais vermelha, podemos tornar o r5 um número real positivo x, aumentando a vermelhidão em cada pixel da nova imagem em x.

Uma matriz identidade fica assim:

     R G B A W
R' | 1 0 0 0 0 |
G' | 0 1 0 0 0 |
B' | 0 0 1 0 0 |
A' | 0 0 0 1 0 |

Nele, cada novo valor é exatamente 1 vez seu valor antigo, sem mais nada adicionado. Recomenda-se começar a manipular a matriz a partir daqui.

func NewTagSvgFeComponentTransfer

func NewTagSvgFeComponentTransfer() (ref *html.TagSvgFeComponentTransfer)

NewTagSvgFeComponentTransfer

English:

The <feComponentTransfer> SVG filter primitive performs color-component-wise remapping of data for each pixel.

It allows operations like brightness adjustment, contrast adjustment, color balance or thresholding.

The calculations are performed on non-premultiplied color values. The colors are modified by changing each channel (R, G, B, and A) to the result of what the children <feFuncR>, <feFuncB>, <feFuncG>, and <feFuncA> return.

Português:

A primitiva de filtro SVG <feComponentTransfer> executa o remapeamento de dados por componente de cor para cada pixel.

Permite operações como ajuste de brilho, ajuste de contraste, equilíbrio de cores ou limiar.

Os cálculos são executados em valores de cores não pré-multiplicados. As cores são modificadas alterando cada canal (R, G, B e A) para o resultado do que os filhos <feFuncR>, <feFuncB>, <feFuncG> e <feFuncA> retornam.

func NewTagSvgFeComposite

func NewTagSvgFeComposite() (ref *html.TagSvgFeComposite)

NewTagSvgFeComposite

English:

The <feComposite> SVG filter primitive performs the combination of two input images pixel-wise in image space using one of the Porter-Duff compositing operations: over, in, atop, out, xor, lighter, or arithmetic.

The table below shows each of these operations using an image of the MDN logo composited with a red circle:

Português:

A primitiva de filtro SVG <feComposite> executa a combinação de duas imagens de entrada pixel a pixel no espaço da imagem usando uma das operações de composição de Porter-Duff: sobre, dentro, em cima, fora, xor, mais leve ou aritmética.

A tabela abaixo mostra cada uma dessas operações usando uma imagem do logotipo do MDN composta por um círculo vermelho:

func NewTagSvgFeConvolveMatrix

func NewTagSvgFeConvolveMatrix() (ref *html.TagSvgFeConvolveMatrix)

NewTagSvgFeConvolveMatrix

English:

The <feConvolveMatrix> SVG filter primitive applies a matrix convolution filter effect. A convolution combines pixels in the input image with neighboring pixels to produce a resulting image. A wide variety of imaging operations can be achieved through convolutions, including blurring, edge detection, sharpening, embossing and beveling.

A matrix convolution is based on an n-by-m matrix (the convolution kernel) which describes how a given pixel value in the input image is combined with its neighboring pixel values to produce a resulting pixel value. Each result pixel is determined by applying the kernel matrix to the corresponding source pixel and its neighboring pixels.

The basic convolution formula which is applied to each color value for a given pixel is:

COLORX,Y = ( SUM I=0 to [orderY-1] { SUM J=0 to [orderX-1] { SOURCE X-targetX+J, Y-targetY+I *
             kernelMatrixorderX-J-1, orderY-I-1 } } ) / divisor + bias * ALPHAX,Y

where "orderX" and "orderY" represent the X and Y values for the 'order' attribute, "targetX" represents the value of the 'targetX' attribute, "targetY" represents the value of the 'targetY' attribute, "kernelMatrix" represents the value of the 'kernelMatrix' attribute, "divisor" represents the value of the 'divisor' attribute, and "bias" represents the value of the 'bias' attribute.

Note in the above formulas that the values in the kernel matrix are applied such that the kernel matrix is rotated 180 degrees relative to the source and destination images in order to match convolution theory as described in many computer graphics textbooks.

To illustrate, suppose you have a input image which is 5 pixels by 5 pixels, whose color values for one of the color channels are as follows:

0    20  40 235 235
100 120 140 235 235
200 220 240 235 235
225 225 255 255 255
225 225 255 255 255

and you define a 3-by-3 convolution kernel as follows:

1 2 3
4 5 6
7 8 9

Let's focus on the color value at the second row and second column of the image (source pixel value is 120). Assuming the simplest case (where the input image's pixel grid aligns perfectly with the kernel's pixel grid) and assuming default values for attributes 'divisor', 'targetX' and 'targetY', then resulting color value will be:

(9*  0 + 8* 20 + 7* 40 +
 6*100 + 5*120 + 4*140 +
 3*200 + 2*220 + 1*240) /
(9+8+7+6+5+4+3+2+1)

Português:

A primitiva de filtro SVG <feConvolveMatrix> aplica um efeito de filtro de convolução de matriz. Uma convolução combina pixels na imagem de entrada com pixels vizinhos para produzir uma imagem resultante. Uma ampla variedade de operações de imagem pode ser alcançada por meio de convoluções, incluindo desfoque, detecção de bordas, nitidez, relevo e chanfro.

Uma convolução de matriz é baseada em uma matriz n por m (o kernel de convolução) que descreve como um determinado valor de pixel na imagem de entrada é combinado com seus valores de pixel vizinhos para produzir um valor de pixel resultante. Cada pixel resultante é determinado pela aplicação da matriz kernel ao pixel de origem correspondente e seus pixels vizinhos. A fórmula de convolução básica que é aplicada a cada valor de cor para um determinado pixel é:

COLORX,Y = ( SUM I=0 to [orderY-1] { SUM J=0 to [orderX-1] { SOURCE X-targetX+J, Y-targetY+I *
             kernelMatrixorderX-J-1, orderY-I-1 } } ) / divisor + bias * ALPHAX,Y

onde "orderX" e "orderY" representam os valores X e Y para o atributo 'order', "targetX" representa o valor do atributo 'targetX', "targetY" representa o valor do atributo 'targetY', "kernelMatrix" representa o valor do atributo 'kernelMatrix', "divisor" representa o valor do atributo 'divisor' e "bias" representa o valor do atributo 'bias'.

Observe nas fórmulas acima que os valores na matriz do kernel são aplicados de tal forma que a matriz do kernel é girada 180 graus em relação às imagens de origem e destino para corresponder à teoria de convolução conforme descrito em muitos livros de computação gráfica.

Para ilustrar, suponha que você tenha uma imagem de entrada com 5 pixels por 5 pixels, cujos valores de cor para um dos canais de cores sejam os seguintes:

0    20  40 235 235
100 120 140 235 235
200 220 240 235 235
225 225 255 255 255
225 225 255 255 255

e você define um kernel de convolução 3 por 3 da seguinte forma:

1 2 3
4 5 6
7 8 9

Vamos nos concentrar no valor da cor na segunda linha e na segunda coluna da imagem (o valor do pixel de origem é 120). Assumindo o caso mais simples (onde a grade de pixels da imagem de entrada se alinha perfeitamente com a grade de pixels do kernel) e assumindo valores padrão para os atributos 'divisor', 'targetX' e 'targetY', o valor da cor resultante será:

(9*  0 + 8* 20 + 7* 40 +
 6*100 + 5*120 + 4*140 +
 3*200 + 2*220 + 1*240) /
(9+8+7+6+5+4+3+2+1)

func NewTagSvgFeDiffuseLighting

func NewTagSvgFeDiffuseLighting() (ref *html.TagSvgFeDiffuseLighting)

NewTagSvgFeDiffuseLighting

English:

The <feDiffuseLighting> SVG filter primitive lights an image using the alpha channel as a bump map. The resulting image, which is an RGBA opaque image, depends on the light color, light position and surface geometry of the input bump map.

The light map produced by this filter primitive can be combined with a texture image using the multiply term of the arithmetic operator of the <feComposite> filter primitive. Multiple light sources can be simulated by adding several of these light maps together before applying it to the texture image.

Português:

A primitiva de filtro SVG <feDiffuseLighting> ilumina uma imagem usando o canal alfa como um mapa de relevo. A imagem resultante, que é uma imagem opaca RGBA, depende da cor da luz, posição da luz e geometria da superfície do mapa de relevo de entrada.

O mapa de luz produzido por esta primitiva de filtro pode ser combinado com uma imagem de textura usando o termo multiplicar do operador aritmético da primitiva de filtro <feComposite>. Várias fontes de luz podem ser simuladas adicionando vários desses mapas de luz antes de aplicá-los à imagem de textura.

func NewTagSvgFeDisplacementMap

func NewTagSvgFeDisplacementMap() (ref *html.TagSvgFeDisplacementMap)

NewTagSvgFeDisplacementMap

English:

The <feDisplacementMap> SVG filter primitive uses the pixel values from the image from in2 to spatially displace the image from in.

The formula for the transformation looks like this:

P'(x,y) ← P( x + scale * (XC(x,y) - 0.5), y + scale * (YC(x,y) - 0.5))

where P(x,y) is the input image, in, and P'(x,y) is the destination. XC(x,y) and YC(x,y) are the component values of the channel designated by xChannelSelector and yChannelSelector.

Português:

A primitiva de filtro SVG <feDisplacementMap> usa os valores de pixel da imagem de in2 para deslocar espacialmente a imagem de in.

A fórmula da transformação fica assim:

P'(x,y) ← P( x + scale * (XC(x,y) - 0.5), y + scale * (YC(x,y) - 0.5))

onde P(x,y) é a imagem de entrada, in, e P'(x,y) é o destino. XC(x,y) e YC(x,y) são os valores componentes do canal designado por xChannelSelector e yChannelSelector.

func NewTagSvgFeDistantLight

func NewTagSvgFeDistantLight() (ref *html.TagSvgFeDistantLight)

NewTagSvgFeDistantLight

English:

The <feDistantLight> filter primitive defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.

Português:

A primitiva de filtro <feDistantLight> define uma fonte de luz distante que pode ser usada em uma primitiva de filtro de iluminação: <feDiffuseLighting> ou <feSpecularLighting>.

func NewTagSvgFeDropShadow

func NewTagSvgFeDropShadow() (ref *html.TagSvgFeDropShadow)

NewTagSvgFeDropShadow

English:

The SVG <feDropShadow> filter primitive creates a drop shadow of the input image. It can only be used inside a <filter> element.

Notes:
  * The drop shadow color and opacity can be changed by using the flood-color and flood-opacity presentation
    attributes.

Português:

A primitiva de filtro SVG <feDropShadow> cria uma sombra projetada da imagem de entrada. Ele só pode ser usado dentro de um elemento <filter>.

Notas:
  * A cor e a opacidade da sombra projetada podem ser alteradas usando os atributos de apresentação de cor de
    inundação e opacidade de inundação.

func NewTagSvgFeFlood

func NewTagSvgFeFlood() (ref *html.TagSvgFeFlood)

NewTagSvgFeFlood

English:

The <feFlood> SVG filter primitive fills the filter subregion with the color and opacity defined by flood-color and flood-opacity.

Português:

A primitiva de filtro SVG <feFlood> preenche a sub-região do filtro com a cor e a opacidade definidas por flood-color e flood-opacity.

func NewTagSvgFeFuncA

func NewTagSvgFeFuncA() (ref *html.TagSvgFeFuncA)

NewTagSvgFeFuncA

English:

The <feFuncA> SVG filter primitive defines the transfer function for the alpha component of the input graphic of its parent <feComponentTransfer> element.

Português:

A primitiva de filtro SVG <feFuncA> define a função de transferência para o componente alfa do gráfico de entrada de seu elemento pai <feComponentTransfer>.

func NewTagSvgFeFuncB

func NewTagSvgFeFuncB() (ref *html.TagSvgFeFuncB)

NewTagSvgFeFuncB

English:

The <feFuncB> SVG filter primitive defines the transfer function for the blue component of the input graphic of its parent <feComponentTransfer> element.

Português:

The <feFuncB> SVG filter primitive defines the transfer function for the blue component of the input graphic of its parent <feComponentTransfer> element.

func NewTagSvgFeFuncG

func NewTagSvgFeFuncG() (ref *html.TagSvgFeFuncG)

NewTagSvgFeFuncG

English:

The <feFuncG> SVG filter primitive defines the transfer function for the green component of the input graphic of its parent <feComponentTransfer> element.

Português:

A primitiva de filtro SVG <feFuncG> define a função de transferência para o componente verde do gráfico de entrada de seu elemento pai <feComponentTransfer>.

func NewTagSvgFeFuncR

func NewTagSvgFeFuncR() (ref *html.TagSvgFeFuncR)

NewTagSvgFeFuncR

English:

The <feFuncR> SVG filter primitive defines the transfer function for the red component of the input graphic of its parent <feComponentTransfer> element.

Português:

A primitiva de filtro SVG <feFuncR> define a função de transferência para o componente vermelho do gráfico de entrada de seu elemento pai <feComponentTransfer>.

func NewTagSvgFeGaussianBlur

func NewTagSvgFeGaussianBlur() (ref *html.TagSvgFeGaussianBlur)

NewTagSvgFeGaussianBlur

English:

The <feGaussianBlur> SVG filter primitive blurs the input image by the amount specified in stdDeviation, which defines the bell-curve.

Português:

A primitiva de filtro SVG <feGaussianBlur> desfoca a imagem de entrada pela quantidade especificada em stdDeviation, que define a curva de sino.

func NewTagSvgFeImage

func NewTagSvgFeImage() (ref *html.TagSvgFeImage)

NewTagSvgFeImage

English:

The <feImage> SVG filter primitive fetches image data from an external source and provides the pixel data as output (meaning if the external source is an SVG image, it is rasterized.)

Português:

A primitiva de filtro SVG <feImage> busca dados de imagem de uma fonte externa e fornece os dados de pixel como saída (ou seja, se a fonte externa for uma imagem SVG, ela será rasterizada).

func NewTagSvgFeMerge

func NewTagSvgFeMerge() (ref *html.TagSvgFeMerge)

NewTagSvgFeMerge

English:

The <feMerge> SVG element allows filter effects to be applied concurrently instead of sequentially. This is achieved by other filters storing their output via the result attribute and then accessing it in a <feMergeNode> child.

Português:

O elemento SVG <feMerge> permite que efeitos de filtro sejam aplicados simultaneamente em vez de sequencialmente. Isso é obtido por outros filtros armazenando sua saída por meio do atributo result e acessando-a em um filho <feMergeNode>.

func NewTagSvgFeMergeNode

func NewTagSvgFeMergeNode() (ref *html.TagSvgFeMergeNode)

NewTagSvgFeMergeNode

English:

The feMergeNode takes the result of another filter to be processed by its parent <feMerge>.

Português:

O feMergeNode recebe o resultado de outro filtro para ser processado por seu pai <feMerge>.

func NewTagSvgFeMorphology

func NewTagSvgFeMorphology() (ref *html.TagSvgFeMorphology)

NewTagSvgFeMorphology

English:

The <feMorphology> SVG filter primitive is used to erode or dilate the input image. Its usefulness lies especially in fattening or thinning effects.

Português:

A primitiva de filtro SVG <feMorphology> é usada para corroer ou dilatar a imagem de entrada. Sua utilidade reside especialmente nos efeitos de engorda ou desbaste.

func NewTagSvgFeOffset

func NewTagSvgFeOffset() (ref *html.TagSvgFeOffset)

NewTagSvgFeOffset

English:

The <feOffset> SVG filter primitive allows to offset the input image. The input image as a whole is offset by the values specified in the dx and dy attributes.

Português:

A primitiva de filtro SVG <feOffset> permite deslocar a imagem de entrada. A imagem de entrada é compensada pelos valores especificados nos atributos dx e dy.

func NewTagSvgFePointLight

func NewTagSvgFePointLight() (ref *html.TagSvgFePointLight)

NewTagSvgFePointLight

English:

The <fePointLight> filter primitive defines a light source which allows to create a point light effect. It that can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.

Português:

A primitiva de filtro <fePointLight> define uma fonte de luz que permite criar um efeito de luz pontual. Ele que pode ser usado dentro de uma primitiva de filtro de iluminação: <feDiffuseLighting> ou <feSpecularLighting>.

func NewTagSvgFeSpecularLighting

func NewTagSvgFeSpecularLighting() (ref *html.TagSvgFeSpecularLighting)

NewTagSvgFeSpecularLighting

English:

The <feSpecularLighting> SVG filter primitive lights a source graphic using the alpha channel as a bump map. The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. The result of the lighting calculation is added. The filter primitive assumes that the viewer is at infinity in the z direction.

This filter primitive produces an image which contains the specular reflection part of the lighting calculation. Such a map is intended to be combined with a texture using the add term of the arithmetic <feComposite> method. Multiple light sources can be simulated by adding several of these light maps before applying it to the texture image.

Português:

A primitiva de filtro SVG <feSpecularLighting> ilumina um gráfico de origem usando o canal alfa como um mapa de relevo. A imagem resultante é uma imagem RGBA baseada na cor clara. O cálculo da iluminação segue o componente especular padrão do modelo de iluminação Phong. A imagem resultante depende da cor da luz, posição da luz e geometria da superfície do mapa de relevo de entrada. O resultado do cálculo de iluminação é adicionado. A primitiva de filtro assume que o visualizador está no infinito na direção z.

Esta primitiva de filtro produz uma imagem que contém a parte de reflexão especular do cálculo de iluminação. Tal mapa deve ser combinado com uma textura usando o termo add do método aritmético <feComposite>. Várias fontes de luz podem ser simuladas adicionando vários desses mapas de luz antes de aplicá-los à imagem de textura.

func NewTagSvgFeSpotLight

func NewTagSvgFeSpotLight() (ref *html.TagSvgFeSpotLight)

NewTagSvgFeSpotLight

English:

The <feSpotLight> SVG filter primitive defines a light source that can be used to create a spotlight effect. It is used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.

Português:

A primitiva de filtro SVG <feSpotLight> define uma fonte de luz que pode ser usada para criar um efeito de spotlight. Ele é usado dentro de uma primitiva de filtro de iluminação: <feDiffeLighting> ou <feSpecularLighting>.

func NewTagSvgFeTile

func NewTagSvgFeTile() (ref *html.TagSvgFeTile)

NewTagSvgFeTile

English:

The <feTile> SVG filter primitive allows to fill a target rectangle with a repeated, tiled pattern of an input image. The effect is similar to the one of a <pattern>.

Português:

A primitiva de filtro SVG <feTile> permite preencher um retângulo de destino com um padrão repetido e lado a lado de uma imagem de entrada. O efeito é semelhante ao de um <pattern>.

func NewTagSvgFeTurbulence

func NewTagSvgFeTurbulence() (ref *html.TagSvgFeTurbulence)

NewTagSvgFeTurbulence

English:

The <feTurbulence> SVG filter primitive creates an image using the Perlin turbulence function. It allows the synthesis of artificial textures like clouds or marble. The resulting image will fill the entire filter primitive subregion.

Português:

A primitiva de filtro SVG <feTurbulence> cria uma imagem usando a função de turbulência Perlin. Permite a síntese de texturas artificiais como nuvens ou mármore. A imagem resultante preencherá toda a sub-região primitiva do filtro.

func NewTagSvgFilter

func NewTagSvgFilter() (ref *html.TagSvgFilter)

NewTagSvgFilter

English:

The <filter> SVG element defines a custom filter effect by grouping atomic filter primitives. It is never rendered itself, but must be used by the filter attribute on SVG elements, or the filter CSS property for SVG/HTML elements.

Português:

O elemento SVG <filter> define um efeito de filtro personalizado agrupando primitivos de filtro atômico. Ele nunca é renderizado, mas deve ser usado pelo atributo filter em elementos SVG ou pela propriedade CSS filter para elementos SVGHTML.

func NewTagSvgForeignObject

func NewTagSvgForeignObject() (ref *html.TagSvgForeignObject)

NewTagSvgForeignObject

English:

The <defs> element is used to store graphical objects that will be used at a later time.

Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

Português:

O elemento <defs> é usado para armazenar objetos gráficos que serão usados posteriormente.

Objetos criados dentro de um elemento <defs> não são renderizados diretamente. Para exibi-los, você deve referenciá-los (com um elemento <use>, por exemplo).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

func NewTagSvgG

func NewTagSvgG() (ref *html.TagSvgG)

NewTagSvgG

English:

The <g> SVG element is a container used to group other SVG elements.

Transformations applied to the <g> element are performed on its child elements, and its attributes are inherited by its children. It can also group multiple elements to be referenced later with the <use> element.

Português:

O elemento SVG <g> é um contêiner usado para agrupar outros elementos SVG.

As transformações aplicadas ao elemento <g> são realizadas em seus elementos filhos, e seus atributos são herdados por seus filhos. Ele também pode agrupar vários elementos para serem referenciados posteriormente com o elemento <use>.

func NewTagSvgImage

func NewTagSvgImage() (ref *html.TagSvgImage)

NewTagSvgImage

English:

The <image> SVG element includes images inside SVG documents. It can display raster image files or other SVG files.

The only image formats SVG software must support are JPEG, PNG, and other SVG files. Animated GIF behavior is undefined.

SVG files displayed with <image> are treated as an image: external resources aren't loaded, :visited styles aren't applied, and they cannot be interactive. To include dynamic SVG elements, try <use> with an external URL. To include SVG files and run scripts inside them, try <object> inside of <foreignObject>.

Notes:
  * The HTML spec defines <image> as a synonym for <img> while parsing HTML. This specific element and its
    behavior only apply inside SVG documents or inline SVG.

Português:

O elemento SVG <image> inclui imagens dentro de documentos SVG. Ele pode exibir arquivos de imagem raster ou outros arquivos SVG.

Os únicos formatos de imagem que o software SVG deve suportar são JPEG, PNG e outros arquivos SVG. O comportamento do GIF animado é indefinido.

Arquivos SVG exibidos com <image> são tratados como uma imagem: recursos externos não são carregados, estilos :visited não são aplicados e não podem ser interativos. Para incluir elementos SVG dinâmicos, tente <use> com uma URL externa. Para incluir arquivos SVG e executar scripts dentro deles, tente <object> dentro de <foreignObject>.

Notes:
  * The HTML spec defines <image> as a synonym for <img> while parsing HTML. This specific element and its
    behavior only apply inside SVG documents or inline SVG.

func NewTagSvgLine

func NewTagSvgLine() (ref *html.TagSvgLine)

NewTagSvgLine

English:

The <line> element is an SVG basic shape used to create a line connecting two points.

Português:

O elemento <line> é uma forma básica SVG usada para criar uma linha conectando dois pontos.

func NewTagSvgLinearGradient

func NewTagSvgLinearGradient() (ref *html.TagSvgLinearGradient)

NewTagSvgLinearGradient

English:

The <defs> element is used to store graphical objects that will be used at a later time.

Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

Português:

O elemento <defs> é usado para armazenar objetos gráficos que serão usados posteriormente.

Objetos criados dentro de um elemento <defs> não são renderizados diretamente. Para exibi-los, você deve referenciá-los (com um elemento <use>, por exemplo).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

func NewTagSvgMPath

func NewTagSvgMPath() (ref *html.TagSvgMPath)

NewTagSvgMPath

English:

The <metadata> SVG element adds metadata to SVG content. Metadata is structured information about data. The contents of <metadata> should be elements from other XML namespaces such as RDF, FOAF, etc.

Português:

O elemento SVG <metadata> adiciona metadados ao conteúdo SVG. Metadados são informações estruturadas sobre dados. O conteúdo de <metadata> deve ser elementos de outros namespaces XML, como RDF, FOAF, etc.

func NewTagSvgMarker

func NewTagSvgMarker() (ref *html.TagSvgMarker)

NewTagSvgMarker

English:

The <marker> element defines the graphic that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.

Markers are attached to shapes using the marker-start, marker-mid, and marker-end properties.

Português:

O elemento <marker> define o gráfico que deve ser usado para desenhar pontas de seta ou polimarcadores em um determinado elemento <path>, <line>, <polyline> ou <polygon>.

Os marcadores são anexados às formas usando as propriedades de início do marcador, meio do marcador e final do marcador.

func NewTagSvgMask

func NewTagSvgMask() (ref *html.TagSvgMask)

NewTagSvgMask

English:

The <mask> element defines an alpha mask for compositing the current object into the background. A mask is used/referenced using the mask property.

Português:

O elemento <mask> define uma máscara alfa para compor o objeto atual em segundo plano. Uma máscara é used/referenced usando a propriedade mask.

func NewTagSvgMetadata

func NewTagSvgMetadata() (ref *html.TagSvgMetadata)

NewTagSvgMetadata

English:

The <metadata> SVG element adds metadata to SVG content. Metadata is structured information about data. The contents of <metadata> should be elements from other XML namespaces such as RDF, FOAF, etc.

Português:

O elemento SVG <metadata> adiciona metadados ao conteúdo SVG. Metadados são informações estruturadas sobre dados. O conteúdo de <metadata> deve ser elementos de outros namespaces XML, como RDF, FOAF, etc.

func NewTagSvgPath

func NewTagSvgPath() (ref *html.TagSvgPath)

NewTagSvgPath

English:

The <path> SVG element is the generic element to define a shape. All the basic shapes can be created with a path element.

Português:

O elemento SVG <path> é o elemento genérico para definir uma forma. Todas as formas básicas podem ser criadas com um elemento de caminho.

func NewTagSvgPattern

func NewTagSvgPattern() (ref *html.TagSvgPattern)

NewTagSvgPattern

English:

The <pattern> element defines a graphics object which can be redrawn at repeated x- and y-coordinate intervals ("tiled") to cover an area.

The <pattern> is referenced by the fill and/or stroke attributes on other graphics elements to fill or stroke those elements with the referenced pattern.

Português:

O elemento <pattern> define um objeto gráfico que pode ser redesenhado em intervalos repetidos de coordenadas x e y ("lado a lado") para cobrir uma área.

O <pattern> é referenciado pelos atributos fill andor stroke em outros elementos gráficos para preencher ou traçar esses elementos com o padrão referenciado.

func NewTagSvgPolygon

func NewTagSvgPolygon() (ref *html.TagSvgPolygon)

NewTagSvgPolygon

English:

The <polygon> element defines a closed shape consisting of a set of connected straight line segments. The last point is connected to the first point.

For open shapes, see the <polyline> element.

Português:

O elemento <polygon> define uma forma fechada que consiste em um conjunto de segmentos de linha reta conectados. O último ponto está conectado ao primeiro ponto.

Para formas abertas, consulte o elemento <polyline>.

func NewTagSvgPolyline

func NewTagSvgPolyline() (ref *html.TagSvgPolyline)

NewTagSvgPolyline

English:

The <polyline> SVG element is an SVG basic shape that creates straight lines connecting several points. Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point.

For closed shapes see the <polygon> element.

Português:

O elemento SVG <polyline> é uma forma básica SVG que cria linhas retas conectando vários pontos. Normalmente, uma polilinha é usada para criar formas abertas, pois o último ponto não precisa ser conectado ao primeiro ponto.

Para formas fechadas veja o elemento <polygon>.

Para formas abertas, consulte o elemento <polyline>.

func NewTagSvgRadialGradient

func NewTagSvgRadialGradient() (ref *html.TagSvgRadialGradient)

NewTagSvgRadialGradient

English:

The <defs> element is used to store graphical objects that will be used at a later time.

Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

Português:

O elemento <defs> é usado para armazenar objetos gráficos que serão usados posteriormente.

Objetos criados dentro de um elemento <defs> não são renderizados diretamente. Para exibi-los, você deve referenciá-los (com um elemento <use>, por exemplo).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

func NewTagSvgRect

func NewTagSvgRect() (ref *html.TagSvgRect)

NewTagSvgRect

English:

The <rect> element is a basic SVG shape that draws rectangles, defined by their position, width, and height. The rectangles may have their corners rounded.

Português:

O elemento <rect> é uma forma SVG básica que desenha retângulos, definidos por sua posição, largura e altura. Os retângulos podem ter seus cantos arredondados.

func NewTagSvgScript

func NewTagSvgScript() (ref *html.TagSvgScript)

NewTagSvgScript

English:

The SVG script element allows to add scripts to an SVG document.

Notes:
  * While SVG's script element is equivalent to the HTML <script> element, it has some discrepancies, like it uses
    the href attribute instead of src and it doesn't support ECMAScript modules so far (See browser compatibility
    below for details)

Português:

O elemento script SVG permite adicionar scripts a um documento SVG.

Notas:
  * Embora o elemento script do SVG seja equivalente ao elemento HTML <script>, ele tem algumas discrepâncias, como
    usar o atributo href em vez de src e não suportar módulos ECMAScript até agora (consulte a compatibilidade do
    navegador abaixo para obter detalhes)

func NewTagSvgSet

func NewTagSvgSet() (ref *html.TagSvgSet)

NewTagSvgSet

English:

The SVG <set> element provides a simple means of just setting the value of an attribute for a specified duration.

It supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean values. For attributes that can be reasonably be interpolated, the <animate> is usually preferred.

Notes:
  * The <set> element is non-additive. The additive and accumulate attributes are not allowed, and will be
    ignored if specified.

Português:

O elemento SVG <set> fornece um meio simples de apenas definir o valor de um atributo para uma duração especificada.

Ele suporta todos os tipos de atributos, incluindo aqueles que não podem ser interpolados de maneira razoável, como valores de string e booleanos. Para atributos que podem ser razoavelmente interpolados, o <animate> geralmente é preferido.

Notas:
  * O elemento <set> não é aditivo. Os atributos aditivo e acumular não são permitidos e serão ignorados se
    especificados.

func NewTagSvgStop

func NewTagSvgStop() (ref *html.TagSvgStop)

NewTagSvgStop

English:

The SVG <stop> element defines a color and its position to use on a gradient. This element is always a child of a <linearGradient> or <radialGradient> element.

Português:

O elemento SVG <stop> define uma cor e sua posição para usar em um gradiente. Este elemento é sempre um filho de um elemento <linearGradient> ou <radialGradient>.

func NewTagSvgStyle

func NewTagSvgStyle() (ref *html.TagSvgStyle)

NewTagSvgStyle

English:

The SVG <style> element allows style sheets to be embedded directly within SVG content.

Notes:
  * SVG's style element has the same attributes as the corresponding element in HTML
    (see HTML's <style> element).

Português:

O elemento SVG <style> permite que as folhas de estilo sejam incorporadas diretamente no conteúdo SVG.

Notas:
  * O elemento de estilo SVG tem os mesmos atributos que o elemento correspondente em HTML
    (definir elemento HTML <style>).

func NewTagSvgSwitch

func NewTagSvgSwitch() (ref *html.TagSvgSwitch)

NewTagSvgSwitch

English:

The <switch> SVG element evaluates any requiredFeatures, requiredExtensions and systemLanguage attributes on its direct child elements in order, and then renders the first child where these attributes evaluate to true.

Other direct children will be bypassed and therefore not rendered. If a child element is a container element, like <g>, then its subtree is also processed/rendered or bypassed/not rendered.

Notes:
  * The display and visibility properties have no effect on <switch> element processing.
    In particular, setting display:none on a child has no effect on the true/false testing for <switch> processing.

Português:

O elemento SVG <switch> avalia todos os atributos requiredFeatures, requiredExtensions e systemLanguage em seus elementos filho diretos em ordem e, em seguida, renderiza o primeiro filho em que esses atributos são avaliados como true.

Outros filhos diretos serão ignorados e, portanto, não renderizados. Se um elemento filho for um elemento contêiner, como <g>, sua subárvore também será processada, renderizada ou ignorada, não renderizada.

Notas:
  * As propriedades de exibição e visibilidade não têm efeito no processamento do elemento <switch>.
    Em particular, configurar display:none em um filho não tem efeito no teste truefalse para processamento de <switch>.

func NewTagSvgSymbol

func NewTagSvgSymbol() (ref *html.TagSvgSymbol)

NewTagSvgSymbol

English:

The <symbol> element is used to define graphical template objects which can be instantiated by a <use> element.

The use of <symbol> elements for graphics that are used multiple times in the same document adds structure and semantics.

Documents that are rich in structure may be rendered graphically, as speech, or as Braille, and thus promote accessibility.

Português:

O elemento <symbol> é usado para definir objetos de template gráficos que podem ser instanciados por um elemento <use>.

O uso de elementos <symbol> para gráficos que são usados várias vezes no mesmo documento adiciona estrutura e semântica.

Documentos ricos em estrutura podem ser renderizados graficamente, como fala, ou como Braille, promovendo assim a acessibilidade.

func NewTagSvgTSpan

func NewTagSvgTSpan() (ref *html.TagSvgTSpan)

NewTagSvgTSpan

English:

The SVG <tspan> element defines a subtext within a <text> element or another <tspan> element. It allows for adjustment of the style and/or position of that subtext as needed.

Português:

O elemento SVG <tspan> define um subtexto dentro de um elemento <text> ou outro elemento <tspan>. Permite o ajuste do estilo eou posição desse subtexto conforme necessário.

func NewTagSvgText

func NewTagSvgText() (ref *html.TagSvgText)

NewTagSvgText

English:

The SVG <text> element draws a graphics element consisting of text. It's possible to apply a gradient, pattern, clipping path, mask, or filter to <text>, like any other SVG graphics element.

If text is included in SVG not inside of a <text> element, it is not rendered. This is different than being hidden by default, as setting the display property won't show the text.

Português:

O elemento SVG <text> desenha um elemento gráfico que consiste em texto. É possível aplicar um gradiente, padrão, caminho de recorte, máscara ou filtro a <text>, como qualquer outro elemento gráfico SVG.

Se o texto for incluído no SVG fora de um elemento <text>, ele não será renderizado. Isso é diferente de estar oculto por padrão, pois definir a propriedade de exibição não mostrará o texto.

func NewTagSvgTextPath

func NewTagSvgTextPath() (ref *html.TagSvgTextPath)

NewTagSvgTextPath

English:

To render text along the shape of a <path>, enclose the text in a <textPath> element that has an href attribute with a reference to the <path> element.

Português:

Para renderizar o texto ao longo da forma de um <path>, coloque o texto em um elemento <textPath> que tenha um atributo href com uma referência ao elemento <path>.

func NewTagSvgTitle

func NewTagSvgTitle() (ref *html.TagSvgTitle)

NewTagSvgTitle

English:

The <title> element provides an accessible, short-text description of any SVG container element or graphics element.

Text in a <title> element is not rendered as part of the graphic, but browsers usually display it as a tooltip. If an element can be described by visible text, it is recommended to reference that text with an aria-labelledby attribute rather than using the <title> element.

Notes:
  * For backward compatibility with SVG 1.1, <title> elements should be the first child element of their parent.

Português:

O elemento <title> fornece uma descrição de texto curto acessível de qualquer elemento de contêiner SVG ou elemento gráfico.

O texto em um elemento <title> não é renderizado como parte do gráfico, mas os navegadores geralmente o exibem como uma dica de ferramenta. Se um elemento puder ser descrito por texto visível, é recomendável fazer referência a esse texto com um atributo aria-labelledby em vez de usar o elemento <title>.

Notas:
  * Para compatibilidade com versões anteriores com SVG 1.1, os elementos <title> devem ser o primeiro elemento
    filho de seu pai.

func NewTagSvgUse

func NewTagSvgUse() (ref *html.TagSvgUse)

NewTagSvgUse

English:

The <use> element takes nodes from within the SVG document, and duplicates them somewhere else.

Português:

O elemento <use> pega nós de dentro do documento SVG e os duplica em outro lugar.

func NewTagSvgView

func NewTagSvgView() (ref *html.TagSvgView)

NewTagSvgView

English:

The <defs> element is used to store graphical objects that will be used at a later time.

Objects created inside a <defs> element are not rendered directly. To display them you have to reference them (with a <use> element for example).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

Português:

O elemento <defs> é usado para armazenar objetos gráficos que serão usados posteriormente.

Objetos criados dentro de um elemento <defs> não são renderizados diretamente. Para exibi-los, você deve referenciá-los (com um elemento <use>, por exemplo).

Graphical objects can be referenced from anywhere, however, defining these objects inside of a <defs> element promotes understandability of the SVG content and is beneficial to the overall accessibility of the document.

func NewTagTextArea

func NewTagTextArea(id string) (ref *html.TagTextArea)

func NewTransform

func NewTransform() *html.TransformFunctions

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL