画板
artboard
一个 Artboard 对象表示文档中的一个画板。一个文档中可以有 1 到 100 个画板。
Artboard.artboardRect
Section titled “Artboard.artboardRect”artboard.artboardRect
画板的大小和位置。
Rect
Artboard.name
Section titled “Artboard.name”artboard.name
画板的唯一标识名称。
String
Artboard.parent
Section titled “Artboard.parent”artboard.parent
此对象的父对象。
Document; 只读。
Artboard.rulerOrigin
Section titled “Artboard.rulerOrigin”artboard.rulerOrigin
画板的标尺原点,相对于画板的左上角。
Point
Artboard.rulerPAR
Section titled “Artboard.rulerPAR”artboard.rulerPAR
像素宽高比,如果单位为像素,则用于标尺可视化。
范围:0.1 到 10。
Number (double)
Artboard.showCenter
Section titled “Artboard.showCenter”artboard.showCenter
显示中心标记。
Boolean
Artboard.showCrossHairs
Section titled “Artboard.showCrossHairs”artboard.showCrossHairs
显示十字线。
Boolean
Artboard.showSafeAreas
Section titled “Artboard.showSafeAreas”artboard.showSafeAreas
显示标题和动作安全区域(用于视频)。
Boolean
Artboard.typename
Section titled “Artboard.typename”artboard.typename
只读。此对象的类名。
String
Artboard.remove()
Section titled “Artboard.remove()”artboard.remove()
删除此画板对象。不能删除文档中的最后一个画板。
无。