Struct ResponsiveUIServices.SafeAreaAdjustmentArgs
Arguments for which sides of a VisualElement that Safe Area padding should be applied to
Namespace: Unity.Industrial.Forma.StandardUI
Syntax
public readonly struct SafeAreaAdjustmentArgs
Constructors
SafeAreaAdjustmentArgs(Boolean, Boolean, Boolean, Boolean)
Constructor
Declaration
public SafeAreaAdjustmentArgs(bool left, bool right, bool top, bool bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | left | Should apply to left |
| Boolean | right | Should apply to right |
| Boolean | top | Should apply to top |
| Boolean | bottom | Should apply to bottom |
Properties
applyToBottom
Add padding to bottom
Declaration
public readonly bool applyToBottom { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
applyToLeft
Add padding to left
Declaration
public readonly bool applyToLeft { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
applyToRight
Add padding to right
Declaration
public readonly bool applyToRight { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
applyToTop
Add padding to top
Declaration
public readonly bool applyToTop { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |