Inheritance
System.Object
BorderSide
public class BorderSide : IEquatable<BorderSide>
Constructors
Declaration
public BorderSide(Color color = null, float width = 1F, BorderStyle style = BorderStyle.solid)
Parameters
Fields
Declaration
public readonly Color color
Field Value
Declaration
public static readonly BorderSide none
Field Value
Declaration
public readonly BorderStyle style
Field Value
Declaration
public readonly float width
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public static bool canMerge(BorderSide a, BorderSide b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public BorderSide copyWith(Color color = null, float? width = default(float? ), BorderStyle? style = default(BorderStyle? ))
Parameters
Type |
Name |
Description |
Color |
color |
|
System.Nullable<System.Single> |
width |
|
System.Nullable<BorderStyle> |
style |
|
Returns
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(BorderSide other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static BorderSide lerp(BorderSide a, BorderSide b, float t)
Parameters
Returns
Declaration
public static BorderSide merge(BorderSide a, BorderSide b)
Parameters
Returns
Declaration
public BorderSide scale(float t)
Parameters
Type |
Name |
Description |
System.Single |
t |
|
Returns
Declaration
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(BorderSide left, BorderSide right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(BorderSide left, BorderSide right)
Parameters
Returns
Type |
Description |
System.Boolean |
|