裁剪圖像以匹配給定的尺寸而不調整大小。
成為我們的資助者或贊助商,以支持我們的工作。
你必須同時提供寬度和高度,還可以使用 anchor1 選項更改剪切框錨點。
1
[width]x[height]
必填。[anchor]
可選。Examples | ||
---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
錨點決定了剪切框的位置,你可以指定 TopLeft
、Top
、TopRight
、Left
、Center
、Right
、BottomLeft
、Bottom
、BottomRight
或 Smart
,默認為 Smart
。 ↩︎