跳到主要内容

Enum NormalizationMode

Member

Fit

Normalize both width and height independently to ensure values are within the (0,1) range.

Width

Normalize based on the screen's width.

Height

Normalize based on the screen's height.

Longest

Normalize based on the larger value between width and height.

Shortest

Normalize based on the smaller value between width and height.