blob: e54fffd073c11760fd002b04310a0d14b5e34648 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
---
title: <animateTransform>
slug: Web/SVG/Element/animateTransform
tags:
- Animacja
- Animacje SVG
- SVG Animacja
translation_of: Web/SVG/Element/animateTransform
---
<div>{{SVGRef}}</div>
<p>Element animateTransform służy do transformacji właściwości elementu takich jak skalowanie, obracanie, przechylanie.</p>
<h2 id="Użycie">Użycie</h2>
<p>{{svginfo}}</p>
<h2 id="Przykład">Przykład</h2>
<pre class="brush: html"><?xml version="1.0"?>
<svg width="120" height="120" viewBox="0 0 120 120"
xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<polygon points="60,30 90,90 30,90">
<animateTransform attributeName="transform"
attributeType="XML"
type="rotate"
from="0 60 70"
to="360 60 70"
dur="10s"
repeatCount="indefinite"/>
</polygon>
</svg></pre>
<p><strong>Podgląd na żywo</strong></p>
<p>{{ EmbedLiveSample('Example','120','120') }}</p>
<h2 id="Atrybuty">Atrybuty</h2>
<h3 id="Atrybuty_globalne">Atrybuty globalne</h3>
<ul>
<li><a href="/en-US/docs/Web/SVG/Attribute#Conditional processing attributes" title="en-US/docs/Web/SVG/Attribute#Conditional processing attributes">Conditional processing attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Core attributes" title="en-US/docs/Web/SVG/Attribute#Core attributes">Core attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Animation event attributes" title="en-US/docs/Web/SVG/Attribute#Animation event attributes">Animation event attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Xlink attributes" title="en-US/docs/Web/SVG/Attribute#Xlink attributes">Xlink attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Animation attribute target attributes" title="en-US/docs/Web/SVG/Attribute#Animation attribute target attributes">Animation attribute target attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Animation timing attributes" title="en-US/docs/Web/SVG/Attribute#Animation timing attributes">Animation timing attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Animation value attributes" title="en-US/docs/Web/SVG/Attribute#Animation value attributes">Animation value attributes</a> »</li>
<li><a href="/en-US/docs/Web/SVG/Attribute#Animation addition attributes" title="en-US/docs/Web/SVG/Attribute#Animation addition attributes">Animation addition attributes</a> »</li>
<li>{{ SVGAttr("externalResourcesRequired") }}</li>
</ul>
<h3 id="Atrybuty_specyficzne">Atrybuty specyficzne</h3>
<ul>
<li>{{ SVGAttr("by") }}</li>
<li>{{ SVGAttr("from") }}</li>
<li>{{ SVGAttr("to") }}</li>
<li>{{ SVGAttr("type") }}</li>
</ul>
<h2 id="Model_DOM">Model DOM</h2>
<p>Element implementuje <code><a href="/en-US/docs/DOM/SVGAnimateTransformElement" title="en/DOM/SVGAnimateTransformElement">SVGAnimateTransformElement</a></code>.</p>
<h2 id="Specyfikacja">Specyfikacja</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName("SVG Animations 2", "#AnimateTransformElement", "<animateTransform>")}}</td>
<td>{{Spec2("SVG Animations 2")}}</td>
<td>No change</td>
</tr>
<tr>
<td>{{SpecName('SVG1.1', 'animate.html#AnimateTransformElement', '<animateTransform>')}}</td>
<td>{{Spec2('SVG1.1')}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
<h2 id="Wsparcie_przeglądarek">Wsparcie przeglądarek</h2>
<p>{{Compat("svg.elements.animateTransform")}}</p>
|