Table of Contents

Struct BoxShadows

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public struct BoxShadows
Inherited Members

Constructors

BoxShadows(BoxShadow)

public BoxShadows(BoxShadow shadow)

Parameters

shadow BoxShadow

BoxShadows(BoxShadow, BoxShadow[])

public BoxShadows(BoxShadow first, BoxShadow[] rest)

Parameters

first BoxShadow
rest BoxShadow[]

Properties

Count

public readonly int Count { get; }

Property Value

int

HasInsetShadows

public bool HasInsetShadows { get; }

Property Value

bool

this[int]

public BoxShadow this[int c] { get; }

Parameters

c int

Property Value

BoxShadow

Methods

Equals(BoxShadows)

public bool Equals(BoxShadows other)

Parameters

other BoxShadows

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Parse(string)

public static BoxShadows Parse(string s)

Parameters

s string

Returns

BoxShadows

ToString()

public override string ToString()

Returns

string

TransformBounds(in Rect)

public Rect TransformBounds(in Rect rect)

Parameters

rect Rect

Returns

Rect

Operators

operator ==(BoxShadows, BoxShadows)

public static bool operator ==(BoxShadows left, BoxShadows right)

Parameters

left BoxShadows
right BoxShadows

Returns

bool

operator !=(BoxShadows, BoxShadows)

public static bool operator !=(BoxShadows left, BoxShadows right)

Parameters

left BoxShadows
right BoxShadows

Returns

bool