Struct WindowBlurInfo
Definition
- Assembly:
- Tizen.NUI.dll
WindowBlurInfo is a struct designed to encapsulate the information required to apply a blur effect to a window. It contains three properties that define how the blur effect is applied to the window, including the type of blur, its intensity, and the corner rounding for the background blur.
public struct WindowBlurInfo : IEquatable<WindowBlurInfo>
- Implements
-
IEquatable<><WindowBlurInfo>
Constructors
View SourceWindowBlurInfo(WindowBlurType, int, int)
The construct with blur type, radius and corner radius for background type.
Declaration
public WindowBlurInfo(WindowBlurType blurType, int blurRadius, int cornerRadius)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowBlurType | blurType | |
| int | blurRadius | |
| int | cornerRadius |
WindowBlurInfo(WindowBlurType, int)
The construct with blur type and radius.
Declaration
public WindowBlurInfo(WindowBlurType blurType, int blurRadius)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowBlurType | blurType | |
| int | blurRadius |
Properties
View SourceBackgroundCornerRadius
Gets or sets the corner radius of the window. It is only useful when window blur type is background.
When applying the background corner radius, ensure that the window's own corner radius is applied first. The blur effect will respect the window's pre-defined corner radius settings before applying the specified background corner radius.
Declaration
public int BackgroundCornerRadius { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int | The corner radius of the window. |
BlurRadius
Gets or sets the blur radius of the window.
Declaration
public int BlurRadius { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int | The blur radius of the window. |
BlurType
Gets or sets the blur type of the window.
Declaration
public WindowBlurType BlurType { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| WindowBlurType | The window blur type of the window. |
Methods
View SourceEquals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Equals(WindowBlurInfo)
Whether this is equivalent to other.
Declaration
public bool Equals(WindowBlurInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowBlurInfo | other |
Returns
| Type | Description |
|---|---|
| bool |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Operators
View Sourceoperator ==(WindowBlurInfo, WindowBlurInfo)
Compares two WindowBlurInfo for equality.
Declaration
public static bool operator ==(WindowBlurInfo operand1, WindowBlurInfo operand2)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowBlurInfo | operand1 | The first operand object. |
| WindowBlurInfo | operand2 | The second operand object. |
Returns
| Type | Description |
|---|---|
| bool | True if both are equal, otherwise false. |
operator !=(WindowBlurInfo, WindowBlurInfo)
Compares two WindowBlurInfo for inequality.
Declaration
public static bool operator !=(WindowBlurInfo operand1, WindowBlurInfo operand2)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowBlurInfo | operand1 | The first operand object. |
| WindowBlurInfo | operand2 | The second operand object. |
Returns
| Type | Description |
|---|---|
| bool | True if both are not equal, otherwise false. |