blob: 1af4e6ed1accb26a9c09fef208aed73d3252083c (
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
|
---
title: view
slug: Web/SVG/Element/view
tags:
- SVG
- 元素
- 参考
- 需要兼容性表
- 需要示例
translation_of: Web/SVG/Element/view
---
<div>{{SVGRef}}</div>
<p><code>view</code>元素是查看图片的一个限定方法,就像一个缩放级别或者一个详细视图。</p>
<h2 id="用法">用法</h2>
<p>{{svginfo}}</p>
<h2 id="示例">示例</h2>
<h2 id="属性">属性</h2>
<h3 id="全局属性">全局属性</h3>
<ul>
<li><a href="/en/SVG/Attribute#Core" title="en/SVG/Attribute#Core">核心属性</a> »</li>
<li>{{ SVGAttr("externalResourcesRequired") }}</li>
</ul>
<h3 id="专有属性">专有属性</h3>
<ul>
<li>{{ SVGAttr("viewBox") }}</li>
<li>{{ SVGAttr("preserveAspectRatio") }}</li>
<li>{{ SVGAttr("zoomAndPan") }}</li>
<li>{{ SVGAttr("viewTarget") }}</li>
</ul>
<h2 id="DOM_接口">DOM 接口</h2>
<p>该元素实现了<code><a href="/en/DOM/SVGViewElement" title="en/DOM/SVGViewElement">SVGViewElement</a></code>接口。</p>
|