Inheritance
System.Object
Border
public class Border : ShapeBorder, IEquatable<Border>
Constructors
Declaration
public Border(BorderSide top = null, BorderSide right = null, BorderSide bottom = null, BorderSide left = null)
Parameters
Fields
Declaration
public readonly BorderSide bottom
Field Value
Declaration
public readonly BorderSide left
Field Value
Declaration
public readonly BorderSide right
Field Value
Declaration
public readonly BorderSide top
Field Value
Properties
Declaration
public override EdgeInsets dimensions { get; }
Property Value
Overrides
Declaration
public bool isSameColor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isSameStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isSameWidth { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isUniform { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Declaration
public override ShapeBorder add(ShapeBorder other, bool reversed = false)
Parameters
Type |
Name |
Description |
ShapeBorder |
other |
|
System.Boolean |
reversed |
|
Returns
Overrides
Declaration
public static Border all(Color color = null, float width = 1F, BorderStyle style = BorderStyle.solid)
Parameters
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(Border other)
Parameters
Type |
Name |
Description |
Border |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override Path getInnerPath(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Overrides
Declaration
public override Path getOuterPath(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Overrides
Declaration
public static Border lerp(Border a, Border b, float t)
Parameters
Returns
Declaration
public override ShapeBorder lerpFrom(ShapeBorder a, float t)
Parameters
Returns
Overrides
Declaration
public override ShapeBorder lerpTo(ShapeBorder b, float t)
Parameters
Returns
Overrides
Declaration
public static Border merge(Border a, Border b)
Parameters
Returns
Declaration
public override void paint(Canvas canvas, Rect rect)
Parameters
Overrides
Declaration
public void paint(Canvas canvas, Rect rect, BoxShape shape = BoxShape.rectangle, BorderRadius borderRadius = null)
Parameters
Declaration
public override ShapeBorder scale(float t)
Parameters
Type |
Name |
Description |
System.Single |
t |
|
Returns
Overrides
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides