Version: 2023.1
LanguageEnglish
  • C#

BackgroundPositionKeyword

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Defines the position of the background.

Properties

Center Vertical alignment is centered and/or Horizontal alignment is centered. This is the default value to make sure it's backward compatible with unity-background-scale-mode default value.
Top Vertical alignment is at the top.
Bottom Vertical alignment is at the bottom.
Left Horizontal alignment is to the left.
Right Horizontal alignment is to the right.