BoxShadows Structure
Represents a collection of BoxShadows.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public struct BoxShadows
Public Structure BoxShadows
[<SealedAttribute>]
type BoxShadows =
struct
inherit ValueType
end
| Inheritance | Object → ValueType → BoxShadows |
Constructors
| BoxShadows(BoxShadow) | Initializes a new instance of the BoxShadows struct. |
| BoxShadows(BoxShadow, BoxShadow[]) | Initializes a new instance of the BoxShadows struct. |
Properties
| Count | Gets the number of BoxShadows in the collection. |
| HasInsetShadows | Gets a value indicating whether any BoxShadow in the collection has IsInset set to true. |
| Item(Int32) | Gets the BoxShadow at the specified index. |
Methods
| Equals(BoxShadows) | Indicates whether the current object is equal to another object of the same type. |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object)) |
| GetHashCode() | Returns the hash code for this instance. (Overrides ValueType.GetHashCode()) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| Parse(String) | Parses a BoxShadows string representing one or more BoxShadows. |
| ToString() | Returns the fully qualified type name of this instance. (Overrides ValueType.ToString()) |
| TransformBounds(Rect) | Transforms the specified bounding rectangle to account for all shadow's offset, spread, and blur. |
Operators
| Equality(BoxShadows, BoxShadows) | Determines whether two BoxShadows collections are equal. |
| Inequality(BoxShadows, BoxShadows) | Determines whether two BoxShadows collections are not equal. |