# UIAspectRatioConstraint(ロブロックス クラス) > Ensures the parent UI element maintains a particular aspect ratio. - URL:https://roblox.minecraft-okinawa.com/reference/classes/UIAspectRatioConstraint/ - 公式:https://create.roblox.com/docs/reference/engine/classes/UIAspectRatioConstraint - 受け継いでいるクラス:UIConstraint ## プロパティ - `UIAspectRatioConstraint.AspectRatio: float`:Determines the width-to-height ratio to maintain. - `UIAspectRatioConstraint.AspectType: AspectType`:Determines how the maximum size of the object is limited. - `UIAspectRatioConstraint.DominantAxis: DominantAxis`:Determines the axis to use when setting the new size of the object. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)