Layer.setSizeToImageSize

機能/意味
Match layer display size to image size
タイプ
Layerクラスのメソッド
構文
setSizeToImageSize()
引数
なし
戻り値
なし (void)
説明
 Make the display size of the layer the same as the image size.
 Many operations that change the image size do not change the display size, but you can use this method to make the display size the same as the image size.