aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/svg/attribute/stroke-dashoffset/index.html
blob: cbc2224c5689feb861ffcac89aa563e30d6ec0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: stroke-dashoffset
slug: Web/SVG/Attribute/stroke-dashoffset
tags:
  - Animação SVG
  - Atributo SVG
  - SVG
translation_of: Web/SVG/Attribute/stroke-dashoffset
---
<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>

<p>O atributo <code>stroke-dashoffset</code> especifica a distância entre o inicio traço e o fim.</p>

<p>Se a <a href="/en/SVG/Content_type#Percentage" title="en/SVG/Content_type#Percentage">&lt;percentage&gt;</a> for usada, o valor representará a porcentagem do viewport atual.</p>

<p>O valor pode ser negativo.</p>

<h2 id="Contexto_de_uso">Contexto de uso</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="row">Categorias</th>
   <td>Atributo de Apresentação</td>
  </tr>
  <tr>
   <th scope="row">Value</th>
   <td><a href="/en/SVG/Content_type#Percentage" title="en/SVG/Content_type#Percentage">&lt;percentage&gt;</a> | <a href="/en/SVG/Content_type#Length" title="en/SVG/Content_type#Length"><span>&lt;length&gt;</span></a> | inherit</td>
  </tr>
  <tr>
   <th scope="row">Valor inicial</th>
   <td>0</td>
  </tr>
  <tr>
   <th scope="row">Animação</th>
   <td>Sim</td>
  </tr>
  <tr>
   <th scope="row">Documento Normativo</th>
   <td><a class="external" href="http://www.w3.org/TR/SVG11/painting.html#StrokeDashoffsetProperty" title="http://www.w3.org/TR/SVG11/painting.html#StrokeDashoffsetProperty">SVG 1.1 (2nd Edition)</a></td>
  </tr>
 </tbody>
</table>

<h2 id="Elementos">Elementos</h2>

<p>Os seguintes elementos podem utilizar o atributo <code>stroke-dashoffset</code></p>

<ul>
 <li><a href="/en/SVG/Element#Shape" title="en/SVG/Element#Shape">Shape elements</a> »</li>
 <li><a href="/en/SVG/Element#TextContent" title="en/SVG/Element#TextContent">Text content elements</a> »</li>
</ul>