AspectImage BaCu $5.00 (no ratings) Tools Date Price Date Price($) 04/15(2021) 5.0 11/05(2024) 5.0 Jump AssetStore このアセットの説明 AspectImage is an Image class that inherits from the Image class for Canvas and can set the aspect ratio. The following three types can be specified with AspectImage. 1. Scale To Fill Sprite is stretched to the same size as RectTransform and displayed. The aspect ratio will not be maintained. 2. Aspect Fit Maintains the aspect ratio and draws with the maximum size that does not go out of the drawing range of RectTransform. 3. Aspect Fill Maintains the aspect ratio and draws the image with the minimum size within the RectTransform's drawing range. Since it inherits from Image, it also works with Mask, Shadow, Material, and other functions available in Image. It can be generated in the same way as the regular Image class by right-clicking in the Hierarchy and selecting "UI > AspectImage".