Inheritance
System.Object
BoxDecoration
public class BoxDecoration : Decoration, IEquatable<BoxDecoration>
Constructors
Declaration
public BoxDecoration(Color color = null, DecorationImage image = null, Border border = null, BorderRadius borderRadius = null, List<BoxShadow> boxShadow = null, Gradient gradient = null, BlendMode? backgroundBlendMode = default(BlendMode? ), BoxShape shape = BoxShape.rectangle)
Parameters
Fields
Declaration
public readonly BlendMode? backgroundBlendMode
Field Value
Declaration
public readonly Border border
Field Value
Declaration
public readonly BorderRadius borderRadius
Field Value
Declaration
public readonly List<BoxShadow> boxShadow
Field Value
Type |
Description |
System.Collections.Generic.List<BoxShadow> |
|
Declaration
public readonly Color color
Field Value
Declaration
public readonly Gradient gradient
Field Value
Declaration
public readonly DecorationImage image
Field Value
Declaration
public readonly BoxShape shape
Field Value
Properties
Declaration
public override bool isComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override EdgeInsets padding { get; }
Property Value
Overrides
Methods
Declaration
public override BoxPainter createBoxPainter(VoidCallback onChanged = null)
Parameters
Returns
Overrides
Declaration
public override bool debugAssertIsValid()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
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(BoxDecoration other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override bool hitTest(Size size, Offset position)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static BoxDecoration lerp(BoxDecoration a, BoxDecoration b, float t)
Parameters
Returns
Declaration
public override Decoration lerpFrom(Decoration a, float t)
Parameters
Type |
Name |
Description |
Decoration |
a |
|
System.Single |
t |
|
Returns
Overrides
Declaration
public override Decoration lerpTo(Decoration b, float t)
Parameters
Type |
Name |
Description |
Decoration |
b |
|
System.Single |
t |
|
Returns
Overrides
Declaration
public BoxDecoration scale(float factor)
Parameters
Type |
Name |
Description |
System.Single |
factor |
|
Returns
Operators
Declaration
public static bool operator ==(BoxDecoration left, BoxDecoration right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(BoxDecoration left, BoxDecoration right)
Parameters
Returns
Type |
Description |
System.Boolean |
|