accent-height - SVG 编辑
« 回到SVG属性指南首页
此属性定义从原点到重点字符顶部的距离,通过字体坐标系内的距离测量。
若未定义该属性,那么该属性就会被设置为ascent
。
Usage context
Categories | None |
---|---|
Value | <number> |
Animatable | No |
Normative document | SVG 1.1 (2nd Edition) |
- <number>
Real numbers are specified in one of two ways. When used in a stylesheet, a <number> is defined as follows:
number ::= integer | [+-]? [0-9]* "." [0-9]+
This syntax is the same as the definition in CSS (CSS2, section 4.3.1).
When used in an SVG attribute, a <number> is defined differently, to allow numbers with large magnitudes to be specified more concisely:
number ::= integer ([Ee] integer)? | [+-]? [0-9]* "." [0-9]+ ([Ee] integer)?
Within the SVG DOM, a <number> is represented as a float,
SVGNumber
or aSVGAnimatedNumber
.
Elements
The following elements can use the accent-height
attribute
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论