Inheritance
System.Object
BoxShadow
public class BoxShadow : IEquatable<BoxShadow>
Constructors
Declaration
public BoxShadow(Color color = null, Offset offset = null, float blurRadius = 0F, float spreadRadius = 0F)
Parameters
Type |
Name |
Description |
Color |
color |
|
Offset |
offset |
|
System.Single |
blurRadius |
|
System.Single |
spreadRadius |
|
Fields
Declaration
public readonly float blurRadius
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly Color color
Field Value
Declaration
public readonly Offset offset
Field Value
Declaration
public readonly float spreadRadius
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public float blurSigma { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Declaration
public static float convertRadiusToSigma(float radius)
Parameters
Type |
Name |
Description |
System.Single |
radius |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(BoxShadow other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static BoxShadow lerp(BoxShadow a, BoxShadow b, float t)
Parameters
Returns
Declaration
public static List<BoxShadow> lerpList(List<BoxShadow> a, List<BoxShadow> b, float t)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<BoxShadow> |
a |
|
System.Collections.Generic.List<BoxShadow> |
b |
|
System.Single |
t |
|
Returns
Type |
Description |
System.Collections.Generic.List<BoxShadow> |
|
Declaration
public BoxShadow scale(float factor)
Parameters
Type |
Name |
Description |
System.Single |
factor |
|
Returns
Declaration
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(BoxShadow a, BoxShadow b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(BoxShadow a, BoxShadow b)
Parameters
Returns
Type |
Description |
System.Boolean |
|