Pixel Perfecter

一键按要求对齐页面所有像素

安装

  1. 下载并解压 Pixel Perfecter.zip
  2. 双击 Pixel Perfecter.sketchplugin 完成安装

使用

选择所有像素不完美的层

执行 Plugins > Pixel Perfecter > Select All Pixel Imperfect Layers 或使用快捷键 command + alt + P

选择一个像素不完美的层

执行 Plugins > Pixel Perfecter > Select One Pixel Imperfect Layer 或使用快捷键 command + control + alt + P

修复所选像素不完美的层

执行 Plugins > Pixel Perfecter > Fix Selected Pixel Imperfect Layers... 或使用快捷键 command + control + shift + alt + P

在弹出的对话框中选择四舍五入的粒度:

1.0 转为最接近的整数

0.5 转为最接近的半像素(同时四舍五入取整)

2.0 转为最接近的偶数像素

基本信息

  • 收录版本 1.2
  • 更新时间 5年前