Struct AdditionalStyle
Styling properties that can be applied to a ExVisualElement.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public struct AdditionalStyle
Fields
backgroundColor
The background color.
Declaration
public Color backgroundColor
Field Value
Type | Description |
---|---|
Color |
borderColor
The border color.
Declaration
public Color borderColor
Field Value
Type | Description |
---|---|
Color |
borderDotFactor
The sizing and spacing of the border dots.
Declaration
public int borderDotFactor
Field Value
Type | Description |
---|---|
int |
borderSpeed
The border speed (for animated dashed and dotted borders).
Declaration
public float borderSpeed
Field Value
Type | Description |
---|---|
float |
borderStyle
The border style.
Declaration
public BorderStyle borderStyle
Field Value
Type | Description |
---|---|
BorderStyle |
borderWidth
The border width.
Declaration
public float borderWidth
Field Value
Type | Description |
---|---|
float |
outlineColor
The outline color.
Declaration
public Color outlineColor
Field Value
Type | Description |
---|---|
Color |
outlineOffset
The outline offset.
Declaration
public float outlineOffset
Field Value
Type | Description |
---|---|
float |
outlineWidth
The outline width.
Declaration
public float outlineWidth
Field Value
Type | Description |
---|---|
float |
shadowBlur
The shadow blur.
Declaration
public float shadowBlur
Field Value
Type | Description |
---|---|
float |
shadowColor
The shadow color.
Declaration
public Color shadowColor
Field Value
Type | Description |
---|---|
Color |
shadowInset
If the shadow is inset or outset.
Declaration
public bool shadowInset
Field Value
Type | Description |
---|---|
bool |
shadowOffset
The shadow offset.
Declaration
public Vector2 shadowOffset
Field Value
Type | Description |
---|---|
Vector2 |
shadowSpread
The shadow spread.
Declaration
public float shadowSpread
Field Value
Type | Description |
---|---|
float |