[]
        
(Showing Draft Content)

C1.Blazor.Core.C1StyleLinearGradientDirection

C1StyleLinearGradientDirection Struct

Struct that describe a linear gradient direction.

Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public struct C1StyleLinearGradientDirection

Constructors

Name Description
C1StyleLinearGradientDirection(double)

Initializes a new instance of the C1StyleLinearGradientDirection struct.

Properties

Name Description
Angle

Gets the angle in degrees.

Bottom

Gets the bottom direction.

BottomLeft

Gets the bottom left direction.

BottomRight

Gets the bottom-right direction.

Kind

Gets the kind of direction.

Left

Gets the left direction.

Right

Gets the right direction.

Top

Gets the top direction.

TopLeft

Gets the top-left direction.

TopRight

Gets the top-right direction.

Methods

Name Description
Equals(object)
GetHashCode()
Parse(string)

Parses the text and returns a length.

ToString()
TryParse(string, out C1StyleLinearGradientDirection)

Tries to parse the specified text and returns the value in the direction parameter.

Operators

Name Description
operator ==(C1StyleLinearGradientDirection, C1StyleLinearGradientDirection)

Compares two C1StyleLinearGradientDirection structures for equality.

implicit operator C1StyleLinearGradientDirection(double)

Casting operator to convert a double into a C1StyleLinearGradientDirection. The unit assigned is pixels.

implicit operator C1StyleLinearGradientDirection(string)

Casting operator to convert a string into a C1StyleLinearGradientDirection.

operator !=(C1StyleLinearGradientDirection, C1StyleLinearGradientDirection)

Compares two C1StyleLinearGradientDirection structures for inequality.