PAG官网 | PAG动效

PAG官网 | PAG动效

  • 首页
  • 产品
  • 功能
  • 文档
  • 案例
  • CN
  • GitHub
  • 论坛交流
  • 免费下载
  • Languages iconCN
    • EN

›导出插件

了解 PAG

  • Introduction
  • FAQs

快速开始

  • Install PAGViewer
  • Install PAGExporter
  • Export PAG Files
  • SDK Integration

导出插件

  • Use Configuration Panel
  • Use Exporting Panel
  • Export BMP Compositions
  • Config Fill Modes
  • Config Time Stretch Modes
  • Exporting Shortcut Keys
  • Error Code
  • Auto Detection Rules
  • Text Editing Rules
  • Add Text Background
  • Export Audio
  • Manually Install PAGExporter

预览工具

  • Preview Replacements
  • View File Structure
  • Preview Shortcut Keys
  • Export Image Sequence
  • File Encryption
  • Add Watermark
  • Upgrade to Beta Version

性能优化

  • Use Performance Panel
  • PAG File Optimization

移动端进阶

  • Common API Overview
  • Use PAGImageView
  • Video Replacement
  • Play Audio
  • Text Layer Description
  • Use Encripted File
  • Export To Video
  • SDK Authentication

Web 进阶

  • SDK Installation
  • Load PAG File
  • Play PAG File
  • Platform Capabilities
  • Use WebWorker

API 参考

  • API Document

视频教程

  • PAG Workflow
  • File Optimization Best Practices
  • Use PAGExporter Panel
  • PAG Online Q&A

资源下载

  • PAGViewer Installer
  • PAG Test Files
  • PAG Demo Projects
  • China LiveVideoStackCon2022
  • PAG Conversion Tool
  • PAG File Format Spec

TAVMedia

  • Introduction to TAVMedia
  • TAVMedia Quick access
  • Common API Overview

其他

  • From Lottie To PAG
  • PAG Dictionary

Text Editing Rules


文本相关的制作规则:

不可编辑文本

不可编辑文本建议转换为形状图层做(右键从文字创建形状);如果使用了非指定的特殊字体,想要保留字体效果也需要转换成形状图层。

可编辑文本

可编辑文本(即文本内容有被替换的需求)用文本图层制作。

点文本与框文本

AE 里的文本图层分为点文本和框文本两种,点文本不会自动换行,框文本是会自动换行的。PAG 里的点文本与 AE 里呈现的排版完全一致,但框文本可能会和 AE 里的显示不一致,因为 PAG 存在两个额外的排版规则:

  • 当框文本的高度不够时,PAG 会自动缩小字号,以在框内放下所有文字。
  • 当框文本的高度超过文本的行数时,PAG 会强制垂直居中显示所有文本。

因此,如果你的文本不需要自动换行,用点文本制作即可。如果需要自动换行且默认垂直居中,用框文本制作即可。如果不希望 PAG 自动缩小字号但可以接受垂直 居中,可以在 AE 里把文本框的高度设置的足够大,这样 PAG 就不会缩小字号。如果需要自动换行但又不希望垂直居中影响排版,分为两种情况:1.如果要显式 的文本字数是固定的或者只可能更多, 可以在 AE 里把文本框的高度缩小到刚好放下所有初始文本的临界点(就是再缩小一像素就会出现裁剪文本行的状态), 这样 PAG 里的框文本也会显示的和 AE 里的排版一致。2.如果文本字数不固定,想要文本可以自动换行并且顶端对齐,目前暂时还没有这样的开关选项。但可以 用点文本制作,然后在 PAG 里用代码控制文本的换行,在文本中手动添加换行符即可\n。

← Auto Detection RulesAdd Text Background →
  • 文本相关的制作规则:
    • 不可编辑文本
    • 可编辑文本
    • 点文本与框文本
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Privacy Policy
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
隐私政策
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Privacy Policy
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
隐私政策