語言

ImageResizingEstimator.ResizingKind 列舉

定義

指定如何調整圖片大小:裁切或填充以填滿的方向。

public enum ImageResizingEstimator.ResizingKind
type ImageResizingEstimator.ResizingKind = 
Public Enum ImageResizingEstimator.ResizingKind
繼承
ImageResizingEstimator.ResizingKind

欄位

名稱 值 Description
IsoPad 0

各向同性(均勻)並有填充物。

IsoCrop 1

各向同性(均勻)且有裁切。

Fill 2

忽略長寬比,將壓縮/拉伸調整到目標尺寸。

適用於