Table of Contents

Class SkiaShadow

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaShadow : BindableObject, INotifyPropertyChanged, IComparable, IComparable<SkiaShadow>, IEquatable<SkiaShadow>
Inheritance
SkiaShadow
Implements
Inherited Members
Extension Methods

Fields

BlurProperty

public static readonly BindableProperty BlurProperty

Field Value

BindableProperty

ColorProperty

public static readonly BindableProperty ColorProperty

Field Value

BindableProperty

OpacityProperty

public static readonly BindableProperty OpacityProperty

Field Value

BindableProperty

ShadowOnlyProperty

public static readonly BindableProperty ShadowOnlyProperty

Field Value

BindableProperty

XProperty

public static readonly BindableProperty XProperty

Field Value

BindableProperty

YProperty

public static readonly BindableProperty YProperty

Field Value

BindableProperty

Properties

Blur

public double Blur { get; set; }

Property Value

double

Color

public Color Color { get; set; }

Property Value

Color

Opacity

public double Opacity { get; set; }

Property Value

double

Parent

public ICanBeUpdatedWithContext Parent { get; set; }

Property Value

ICanBeUpdatedWithContext

ShadowOnly

public bool ShadowOnly { get; set; }

Property Value

bool

Tag

public string Tag { get; set; }

Property Value

string

X

public double X { get; set; }

Property Value

double

Y

public double Y { get; set; }

Property Value

double

Methods

Attach(ICanBeUpdatedWithContext)

public void Attach(ICanBeUpdatedWithContext parent)

Parameters

parent ICanBeUpdatedWithContext

CompareTo(SkiaShadow)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(SkiaShadow other)

Parameters

other SkiaShadow

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(object obj)

Parameters

obj object

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes obj in the sort order.
Zero This instance occurs in the same position in the sort order as obj.
Greater than zero This instance follows obj in the sort order.

Exceptions

ArgumentException

obj is not the same type as this instance.

Dettach()

public void Dettach()

Equals(SkiaShadow)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SkiaShadow other)

Parameters

other SkiaShadow

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(SkiaShadow, SkiaShadow)

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

Parameters

left SkiaShadow
right SkiaShadow

Returns

bool

operator !=(SkiaShadow, SkiaShadow)

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

Parameters

left SkiaShadow
right SkiaShadow

Returns

bool